It’s an API provided by Google to include all kinds of YouTube functionality to a given site. This includes uploading of videos, management of playlists and subscriptions, handling of channel settings, search, and others.