The ABC of the camera: how does it work?