Ammunition is used in Weapons upon firing by Players. Garrisoned defenses have infinite ammunition. Various artillery ammunition stacks only in Weapon's inventory, so delivering large amounts of ammo is faster in crates to closest Stockpile, and then assembling it for loading a gun. For production times check Crafting.
* Production time is given in seconds per crate (sec/crate).