How the Sun Affects the Earth