Which is the function of the fovea?

It controls the amount of light entering the eye.
It provides the greatest detail of an image when light hits it.
It flips the image that is being viewed.
It changes the curvature of the lens to allow less light to enter.