Mastitis caused by Gram-positive and Gram-negative bacteria was used to assess the expressions of IL-4, IL-10, and IFNγ genetic features connected to the immune system response pathways to mastitis. The gene discussed is IFNG; the disease is mastitis.