When does the Sun pass directly overhead?

The point directly above you is the zenith. At any moment, there is a place on Earth where the Sun is at the zenith. Its latitude moves between about 23.4° north in June and 23.4° south in December as Earth orbits the Sun.

At a latitude strictly between those limits, the overhead Sun passes through twice a year, once on its way north and once on its way south. At the equator, those visits fall near the March and September equinoxes. At an overhead passage, the shadow of a vertical pole shrinks to its base. NASA Science

Choose Singapore in Sky Above and compare the peak solar altitude around the March equinox and June solstice. The midday Sun changes height substantially while the daylight duration stays close to 12 hours.