How the eye functions and the development of cataracts