Pectin
Pectin is a group of complex plant-cell-wall carbohydrates important in the middle lamella and primary walls. Changes in pectin contribute to how mango flesh softens during ripening, together with other structural and biochemical changes. It is not a synonym for the visible strings around a mango stone. Understanding pectin helps separate normal texture development from the impression that all softening is water loss, while damaged or decaying flesh still needs to be assessed separately.
Pectic materials contribute to the way neighboring cells adhere and to changes in tissue texture. They are not the same as the entire cell wall or all dietary fiber. Their role in ripening is best understood alongside other changes in fruit structure rather than as a single substance that switches a mango from hard to soft.
Further reading: Research on mango postharvest ripening physiology.

