Good nutrition is important for health and eye health is no exception. There’s the old maxim about carrots being good for your eyes! (They are in fact!) But your eyes can benefit from you eating a balanced diet. A variety of foods (including carrots) contain antioxidants which are good for your eye health.
Sometimes vision problems can be a result of dietary deficiencies but nutritional supplements should only be taken in consultation with your optometrist or health professional.