Traditionally, a smartphone camera consists of a single camera system that’s fitted with an image sensor, lens assembly, and at times, optical image stabilization motor. Lately, however, to counteract photography constraints in single sensors, manufacturers have started using 2 camera systems (placed horizontally or vertically, on the front or on rear).
The software is of utmost importance here as it stitches feeds from two camera sensors for additional features. For instance, the shallow depth of field effect that is otherwise implemented using wide aperture lenses can be executed by measuring the depth of field and blurring the background using a simple dual camera setup