The synodic day is distinguished from the sidereal day, which is one complete rotation in relation to distant stars, which is the basis of sidereal time. This is different from the duration of a synodic day because the revolution of the body around its parent star would cause a single "day" to pass relative to a star, even if the body itself did not rotate.
Earth's synodic day is the time it takes for the Sun to pass over the same meridian (a line of longitude) on consecutive days, whereas a sidereal day is the time it takes for a given distant star to pass over a meridian on consecutive days. For example, in the Northern Hemisphere, a synodic day could be measured as the time taken for the Sun to move from exactly true south (i.e. its highest declination) on one day to exactly south again on the next day (or exactly true north in the Southern Hemisphere).
For Earth, the synodic day is not constant, and changes over the course of the year due to the eccentricity of Earth's orbit around the Sun and the axial tilt of the Earth. The longest and shortest synodic days' durations differ by about 51 seconds. The mean length, however, is 24 hours (with fluctuations on the order of milliseconds), and is the basis of solar time. The difference between the mean and apparent solar time is the equation of time, which can also be seen in Earth's analemma.
As viewed from Earth during the year, the Sun appears to slowly drift along an imaginary path coplanar with Earth's orbit, known as the ecliptic, on a spherical background of seemingly fixed stars. Each synodic day, this gradual motion is a little less than 1° eastward (360° per 365.25 days), in a manner known as prograde motion.
Certain spacecraft orbits, Sun-synchronous orbits, have orbital periods that are a fraction of a synodic day. Combined with a nodal precession, this allows them to always pass over a location on Earth's surface at the same mean solar time.
Due to tidal locking with Earth, the Moon's synodic day (the lunar day or synodic rotation period) is the same as its synodic period with Earth and the Sun (the period of the lunar phases, the synodic lunar month, which is the month of the lunar calendar).
Due to Mercury's slow rotational speed and fast orbit around the Sun, its synodic rotation period of 176 Earth days is three times longer than its sidereal rotational period (sidereal day) and twice as long as its orbital period.