How does Mending work in Minecraft?

Mending is a Minecraft enchantment that may be applied on tools and weapons. As you use an enchanted object to collect experience orbs, it will gradually mend itself. This allows gamers to maintain their favorite tools and weapons in excellent working order without continually needing to fix them.