Why is a clock called a clock?

The word clock comes from the from the Celtic words clocca and clogan, both meaning bell. Bells were used in early clocks for signaling, often times signaling prayer time.

+++
IN fact that's all the earliest mechanical clocks did, though not very accurately: sound bells to summon monks or clergy to prayer, in times when most people basically lived by daylight and body-clock.