Damage to kidneys and other organs after heart surgery is not so much triggered by the surgical repair of the heart itself but rather by the massive inflammatory response, which arises from multiple factors: the machinery used to keep blood and oxygen flowing, changes of blood flow during the surgery, and tissue responses to the surgical trauma.