Unravelling the electronic structure properties of functional molecules