It depends on the angle at which a lens is hit by a light ray and whether the lens is concave or convex. It can either keep it as it was, change it's direction away from the lens and the center, or it can point it towards a focal point where it would meet other light rays.