HIV tests are used to detect the presence of the human immunodeficiency virus (HIV), the virus that causes HIV/AIDS, in serum, saliva, or urine. Such tests may detect antibodies, antigens, or RNA.