A detent is a generic term used to mean a device, mechanism (in this case, a spring) which essentially keeps another part from moving, forces it to move in one direction, or holds one part in place.
The AR-15 has a couple of detent springs to allow the firearm to function properly. For example, in the lower parts kit, you’ll find:
- Pivot Detent Spring
- Takedown Detent Spring