can someone explain how time zones are determined?

please help and thank you

Yes.

The earth has been divided into 24 zones to correspond with 24 hours a day. However, local people have the right to nudge the boundaries of each time zone for their own convenience.