A liver transplant is a surgery to replace a diseased liver with a healthy liver from another person. A whole liver may be transplanted, or just part of one.
In most cases, the healthy liver will come from an organ donor who has just died.
Sometimes a healthy living person will donate part of their liver. A living donor may be a family member. Or it may be someone who is not related to you but whose blood type is a good match.