Carbon dioxide is a by product of ammonia production
If you study the flow chart for ammonia production below you will note that in the scrubber, carbon dioxide is removed from the reaction mixture. The carbon dioxide produced is in quite a pure form so it can then be transported for use in the drinks and meat industries.