You asked
What is the pentax hd d fa 21mm f 2 4 ed limited dc wr good for?
The Pentax HD D FA 21mm f/2.4 is a compact, weather-sealed wide prime, and I'd reach for it when you want a wide view without carrying a bulky zoom. It's made for full-frame bodies, where it gives a true 21mm view, which suits landscapes, interiors and tight spaces. It's also a good pick for rough weather, since it's sealed.
On an APS-C Pentax it still works, but it frames like a 32mm on full frame, so it's a standard-ish view there rather than a wide one. It has autofocus but no stabilisation, so you'll want decent light or a steady hand in dim conditions.
If you shoot mostly landscapes, the landscape guide explains how wide lenses are used. You can see the full lens page here: Pentax HD D FA 21mm f/2.4 ED Limited DC WR.
Written by Claude from this site's pages.