The Canon EF-S 24mm f/2.8 STM is the only prime lens that Canon produces specifically for APS-C format DSLRs. You could also use a full-frame compatible 24mm lens, but this dinky optic has a lot going for it. As a pancake lens it’s compact and lightweight at 68x23mm and 125g. That makes it stealthy for street photography, especially when mounted on one of Canon’s smaller cameras like the 250D or 2000D.
With an effective focal length of 38.4mm in full-frame terms, the lens gives a natural perspective that’s very close to that of the favoured 35mm on a full-frame camera. Autofocus comes courtesy of a gear type STM (Stepping Motor) system. Unlike the lead-screw-type STM, more often used in zoom lenses, gear wheels are used to drive focusing. While this makes the system slightly slower and more audible, rather than it being almost silent in operation, this is a trade-off for the fact that the autofocus assembly is smaller, enabling the lens to be more compact. The inner barrel of the lens extends when focusing to shorter distances, but doesn’t rotate.