Liquid that comes out raw mangoes
It is the sap; you can see the composition of the sap (of Indian mangoes) in this article. Some plants also produce latex from injury sites. The mango sap is not supposed to be eaten as it can irritate the skin; a condition referred to as Mango Dermatitis.