Idiom: Saved by the bell

What does 'Saved by the bell' mean?

If you are saved by the bell, you are rescued from a danger or a tricky situation just in time.

See also: