Eat healthy → get healed. Saturation always triggers healing — full hunger bar not required.
The golden carrot provides lots of saturation. You can see the saturation is used to heal the player even though the player isn't "full" yet.