ECMO works by temporarily drawing blood from the body to allow artificial oxygenation of the red blood cells and removal of carbon dioxide. Generally, it is used either post-cardiopulmonary bypass or in late-stage treatment of a person with profound heart and/or lung failure, although it is now seeing use as a treatment for cardiac arrest in certain centers, allowing treatment of the underlying cause of arrest while circulation and oxygenation are supported. ECMO is also used to support patients with the acute viral pneumonia associated with COVID-19 in cases where artificial ventilation is not sufficient to sustain blood oxygenation levels.