A grease gun is a tool that is used to apply lubricant, or grease, to mechanical components such as bearings, gears, and joints. It works by using a piston to force the grease from a cartridge or container through a nozzle onto the surface that requires lubrication.