This balance between the CTLA-4, CD28, and B7 proteins ensures that T cells can fight infections and cancer while preventing excessive or harmful immune responses, such as autoimmune diseases. The gene discussed is CTLA4; the disease is infection.