What is an sundial?

A sundial is pretty much an analogue clock, except instead of hands, it uses the suns shadows to point at hour lines on its base.