A lens system includes four lens elements which are, in order from an object side to an image side: a first lens element, a second lens element, a third lens element and a fourth lens element. Each of the four lens elements has an object-side surface facing toward the object side and an image-side surface facing toward the image side. At least one of the object-side surface and the image-side surface of the first lens element has at least one inflection point. The fourth lens element has positive refractive power, the object-side surface of the fourth lens element is convex in a paraxial region thereof, and at least one of the object-side surface and the image-side surface of the fourth lens element has at least one inflection point.