Compiling takes a mod project and converts it into a .jar file that can be used as a mod for Minecraft. The process involves saving the project with a file name, then installing Forge and placing the resulting .jar file into the Minecraft mods folder to play with the new mod.