Antibodies are proteins produced by the immune system to fight HIV. HIV tests detect these antibodies to diagnose infection.