A gun is a device designed to propel a projectile using pressure or explosive force. The projectiles are typically solid, but can also be pressurized liquid (e.g. in water guns/cannons), or gas (e.g. light-gas gun). Solid projectiles may be free-flying (as with bullets and artillery shells) or tethered (as with Tasers, spearguns and harpoon guns). A large-caliber gun is also called a cannon. Guns were designed as weapons for military use, and then found use in hunting. Now, there are guns, e.g., toy guns, water guns, paintball guns, etc., for many purposes.
https://en.wikipedia.org/wiki/Gun