TNF and infection: The main function of TNF is to stimulate and activate immune cells to the site of infection and to destroy present pathogens like viruses and bacteria.