Question: how does a camera shutter work?
Answer: There are two curtains, which are both spring-loaded and held in place by electromagnets. When you release the shutter, the mirror flips up and the two curtains are cocked, covering the camera's sensor. The first curtain's electromagnet then releases it so it swings open and exposes the sensor, allowing light in.