system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5 Guns In Space?

If you fired a gun in space, would the gunpowder ignite, given the fact that you'd be in a vaccuum. And would the bullet just travel forever assuming it didnt hit anything or get sucked into any orbit. 
(Also, do they actually have guns in space, like on the ISS for example?)
gpt
>  would the gunpowder ignite, given the fact that you'd be in a vaccuum

Yes, the gunpowder contains its own oxidizer within the chemical structure of the powder, and the cartridge itself is crimped airtight. On Earth this prevents water intruding into the cartridge and wetting the gunpowder, but it also means that ambient air can have no impact on its combustion.

> And would the bullet just travel forever assuming it didnt hit anything or get sucked into any orbit.

Yes.

> Also, do they actually have guns in space, like on the ISS for example?

No, they generally aren't supposed to on cooperative projects like the ISS. Russian missions have carried pistols at other times though, as their capsules would be landing in some frozen wilderness of Russia and predators like wolves might be an issue before they could be recovered.