the sun is the star that gives the earth all of it's energy