the sun is used for warmth, and energy for plants