Complex sentence: Temperature varies as one moves vertically upwards from the Earth's surface.it also depends on the change of latitude.
Split into simpler sentences: Temperature varies as one moves vertically upwards from the Earth's surface. It also depends on the change of latitude.