Time zones are based on the position of the sun. We say that 12 o'clock noon is midday. Then the sun is at its highest point, directly overhead. The Earth spins or rotates on its axis, like the spinning of a top. As the Earth spins, the sun looks like it moves across the sky from east to west.
It takes the Earth about 24 hours to make one rotation. This causes day and night. When one side of the Earth is turned toward the sun, it is day. On the other side of the Earth, it is nighttime.
The Earth's surface can be thought of as a giant circle. Circles can be measured in degrees. One whole circle is made up of 360 degrees. It takes the Earth 24 hours to turn in a circle. So when we divide 360 degrees by 24 hours, we see that the Earth rotates about 15 degrees each hour.
Each time zone is set up having 15 degrees of longitude. Longitude lines are the LONG lines you see on a globe. They run from the North Pole to the South Pole. They are like the LONG sides of a ladder. There are twenty-four time zones around the world.