HIV primarily infects CD4+ T cells (helper T cells), which are crucial for immune function. However, the virus can also infect macrophages and dendritic cells, which act as reservoirs and help transport the virus. Therefore, all three cell types are correct.