What is the relationship between photosynthesis, respiration, and heat?