Photograph the sun at the same clock time every day for a year and it traces a figure-eight in the sky, called an analemma. Two separate effects combine to produce this shape, and each can be modelled as a periodic function.
Start here β these are the sources that inspired this exploration.
If you record the sun's position at exactly the same clock time on many days across a year, it traces a figure-eight pattern in the sky, called an analemma. This happens because Earth's orbit is not perfectly circular and its axis is tilted relative to its orbital plane. Each of these two effects produces its own periodic offset in the sun's apparent position; combining them, using published sun-position data rather than a year of original photography, produces the full figure-eight curve.