The sensors in your eye that respond to dim levels of illumination are called the rods, and they depend on an extremely light-sensitive chemical called rhodopsin, which contains Vitamin A.
This vitamin is found in strong quantities in sweet potatoes, spinach, fruit, and yes, carrots. Eat those carrots! They really do help your vision.
Quiringh Gerritsz van Brekelenheim (b. Dutch, 1622 -1669) Vegetable Stall,1656. Image from Food in the Arts