As a response to the infection, proinflammatory cytokines are released and several studies suggest that TNFα, IL-1β, and IL-6 are significantly increased during infections and can cause learning and memory impairments. Here, TNF is linked to infection.