the sun can produces light and heat