Answer:
The light from the thing you are photographing zooms into the camera lens. The incoming "picture" hits the image sensor chip, which breaks it up into millions of pixels. The sensor measures the color and brightness of each pixel and stores it as a number.
Explanation: I just explained up there...