heart-lung machine, an apparatus consisting of a pump and an oxygenator that takes over the functions of the heart and lungs, especially during open heart surgery. The blood is shunted from the venous system through an oxygenator and returned to the arterial circulation.