In photosynthesis, which of the following types of energy is used to make new substances?