Different time zones were established to account for the Earth's rotation and the varying times of sunrise and sunset across the globe. This system allows local time to align more closely with the solar day in each region, making daily activities more in sync with daylight hours. The concept of time zones was formalized in the late 19th century, simplifying global communication and travel.