Why is it necessary to match the donors blood and the recipients blood before a transfusion is given

If not matched, the donation will most likely kill the recipient.