NavyLCDR does a pretty good job of describing. They're also handy for doing work on the guns to verify the movement of the cartridge (loading, extraction) and other fitting. You never, EVER, want live rounds around your cleaning/gunsmithing activities. On the range, when testing guns I've worked on, I put one live round and one snap cap in the magazine (in the reverse order so that they load in that order). This allows the normal fire of a single shot and cycling of the magazine (and introducing the snap cap into the chamber), but since the snap cap is totally inert, I don't have to worry about it firing in case that there was some malfunction (something happens in the bore or the gun "full autos").