Learn how to use constraints in Blender.
The entire course is now free for everyone here on YouTube: • Mastering Drivers in Blender
Short Recap
Constraints stops objects from doing things, or in some way follow a rule
They only affects the transform properties, the location, rotation and scale
For bones in armatures you add them in the bone constraints panel instead
Use different spaces to choose what your objects are constrained in relation to