Immune cell action in infections, cancer and inflammation