GPG is an open source and very commonly used key based encryption tool. Oftentimes you may hear PGP used in very common scenarios. GPG is simply an open source alternative to PGP.
While GPG is a tool used for encrypting and decrypting files, it has many different methods of doing so depending on the type of keys that you create. We will go over the different types of keys you can create in the coming section.