A general term for the complex phenomena involved in allo- and xenograft rejection by a host and graft vs host reaction. Although the reactions involved in transplantation immunology are primarily thymus-dependent phenomena of cellular immunity, humoral factors also play a part in late rejection.