Transfer and storage of energy by molecules