Question: how does a smartphone camera work?
Answer: Light enters the lens. The aperture determines the amount of light that reaches the sensor. The shutter determines how long the sensor is exposed to light. The sensor captures the image.