A system that controls the interior environment of a crewed spacecraft. The system removes excess heat, absorbs exhaled carbon dioxide, generates and circulates re-oxygenated air, removes contamination, controls humidity, and maintains the correct pressure level. An ECS protects astronauts from such problems as the bends, hypoxia, and toxicity.