A pellet gun is a type of firearm that uses compressed air or gas to propel small metal or plastic pellets. It is designed to resemble a real gun, but it typically operates at lower velocities and is used for recreational purposes such as target shooting or pest control.