Guns can be fired in space. Gunpowder contains its own oxidizer, which allows guns to work even in the vacuum of space.