# In a broader sense, a sundial is any device that uses the Sun's altitude or azimuth (or both) to show the time. In addition to their time-telling function, sundials are valued as decorative objects, literary metaphors, and objects of mathematical study.