It is the direction of the earth as it spins around the sun. The earth spins, also, and it is tilted on an axis, so sometimes, if you live in North America, summer would be when the earth is tilting...
Summers happen because the world is tilted and when it reaches a certain point whilst orbiting the sun, the part that its facing i.e. Britain, will become hotter than what its not i.e. Australia