How does HIV cause AIDS?

HIV destroys a certain kind of blood cell (CD4+ T cells), which is crucial to the normal function of the human immune system. Most people infected with HIV carry the virus for years before enough damage is done to the immune system for AIDS to develop.