How Do Keys Work?

Who knew an animated GIF could be so educational? This one explains in 0 words how keys work.