The Coombs test, also known as the antiglobulin test, detects antibodies or complement proteins attached to red blood cells. There are two types of Coombs tests - the direct Coombs test detects antibodies bound to red blood cells in vivo, while the indirect Coombs test detects antibodies in a patient's serum that can bind to red blood cells in vitro. The Coombs test is used to diagnose conditions like hemolytic disease of the newborn, autoimmune hemolytic anemia, and hemolytic transfusion reactions. A positive Coombs test indicates red blood cell sensitization, while a negative test suggests the absence of sensitization.