CD4 and infection: Additionally, smoking affects T cell function by increasing CD8+ cells and decreasing CD4+ cells, thereby impairing the body's ability to fight infections.