A gnomon is the part of a sundial that casts a shadow, used to indicate the time of day by the position of the sun. It is one of the oldest astronomical instruments for measuring time and observing the movement of celestial bodies.