The immune system defends the body against infection. AIDS is caused by the HIV virus, which attacks the immune system by targeting white blood cells called CD4 cells. HIV was first observed in 1981 in the United States. A person infected with HIV may have no symptoms initially. The only sure ways to prevent HIV transmission are not having sex without protection, not sharing needles, and avoiding unsafe blood transfusions.