Lenses can be either convex or concave, with convex lenses focusing light rays at a focal point while concave lenses refract light rays to spread them out. The location and size of an image produced by a lens depends on whether it is convex or concave and how close or far the object is. Lenses are used to correct vision problems like farsightedness and nearsightedness, as well as in optical devices like telescopes and microscopes.