The sun shines on the planets in the solar system, giving them light and heat.