CD4 cells are white blood cells called T lymphocytes or T cells that fight infection and play an important role in immune system function. CD4 tests measure the number of these cells in the blood and, in conjunction with an HIV viral load test, help assess the progression of HIV infection and the effectiveness of treatment.