Carbon dioxide why the gas has these uses why?

You can use it to suffocate people and also to put in cartriges to shoot people in CO2 guns.