What is the relationship between photosynthesis, respiration, and heat? said as short as possible

Photosynthesis produces oxygen and glucose using sunlight, while respiration uses oxygen and glucose to produce energy and heat.