What does a Doorbell do?

A doorbell goes ding-dong to tell you a visitor is at the door!

▶ what THAT thing do?!