Muscle spindle:

a receptor in skeletal muscle that detects changes in muscle length. The brain uses this information to determine the position of parts of the body, to regulate muscle contraction, and to facilitate movement.