As the Earth relocates around the Sunlight it turns on its axis, so we have night and day. The side of the Earth encountering the Sunlight is bathed in light and heat (daytime). The side of the Earth encountering far from the Sunlight, out towards area, is darker and colder (nighttime).