How does An Alarm Clock Work?

An alarm clock will allow you to set a time when you have to wake up. It works just like a regular clock but a the set alarm time the clock will alert you to wake up.