A container used for holding rounds of ammunition. It can be both fixed or detachable. They can be loaded manually, or by using a speed-loader or a stripper clip.
The M16A2 typically uses a 30 detachable-box magazine.
OR
When your automatic pistol runs out of ammunition, drop the magazine.