OAuth is an open standard for authorization that allows users to share private resources stored on one server with another server without sharing login credentials, and provides a method for users to grant third-party access to their resources without sharing their password. It works by delegating user authentication to the resource owner's authorization server, eliminating the need for the third-party to receive and store the user's credentials.