IFNG and infection: Moreover, IFN-γ plays a key role in the switching of IgG to IgG2a, which is important in protecting against infection (47).