A balanced diet rich in fruits, vegetables, whole grains, and lean proteins provides essential vitamins and minerals that support immune function. Nutrients like vitamin C, vitamin D, and zinc are particularly important for maintaining a healthy immune response.