Here’s a promotional/educational video by Canon that explains both how digital cameras work and how it manufactures them. Interesting fact: lenses are so precise that if they were to be enlarged to the size of a sports stadium, the margin of error would be less than the thickness of a business card.