Cross matching is a laboratory test performed to ensure compatibility between the blood of a donor and the recipient before a blood transfusion. This process involves mixing a small sample of the recipient's plasma with the donor's red cells and checking for any adverse reactions.