HIV primarily targets CD4+ T cells, which play a crucial role in the immune response. The virus enters these cells, replicates, and eventually destroys them. As the number of CD4+ T cells decreases, the immune system becomes less effective, leading to immunodeficiency.