In firearms the slide is the upper half of a semi-automatic pistol. When the pistol is fired the slide cycles to eject used ammunition and to feed fresh ammunition from the magazine.