Behavior of light in lenses