Immune rejection occurs when the immune system identifies a transplanted organ or tissue as foreign and mounts an immune response against it, potentially leading to the failure of the transplant. This process involves complex interactions between donor and recipient immune cells, and managing it often requires immunosuppressive therapies to prevent rejection and maintain transplant viability.