The immune system does try to fight HIV infection. It produces antibodies to do this. But they’re not very effective without the CD4 cells to organise them. Normally the body's immune system would fight off an infection, but HIV prevents the body’s immune system from working properly.