How does Google Authenticator work?

How does Google Authenticator work? What is Google Authenticator? How to set up Google Authenticator in your phone? And many more