HIV primarily affects CD4 T cells during an infection, causing widespread immune cell death through both direct infection and indirect (bystander) mechanisms. The gene discussed is CD4; the disease is infection.