A firearm is a weapon designed to discharge projectiles, such as bullets or shells, through the force of rapidly expanding high-pressure gases produced by chemical reactions within a confined space.