Conversation so far:
what is the use of esc in computer
On computer keyboards, the Esc key is a key used to generate the escape character which when sent from the keyboard to a computer, is interpreted by software as stop.
where is the escape key located
The escape key is now generally placed at the top left corner of the keyboard, a convention dating at least to the original IBM PC keyboard.
what was the original name of the escape key
The name of the escape equivalent key on some early Teletype Model 33 keyboards was labeled Alt Mode.

Question: how is the key used in games
Self-contained rewrite: how is the escape key used in games