A heart transplant is a surgical procedure that replaces a diseased or failing heart with a healthy heart from a deceased donor, often used as a last resort for patients with severe heart failure or other life-threatening heart conditions. The success of the operation depends on factors such as the recipient's health, the compatibility of donor and recipient, and post-transplant care, including immunosuppressive therapy to prevent organ rejection.