Extracorporeal membrane oxygenation is a procedure that uses an artificial heart-lung machine to take over the work of the lungs (and sometimes also the heart). It is used most often in newborns and young children, but can also be used as a last resort for adults whose heart or lungs are failing.