What is this stuff?

Ok, so I was out swimming and forgot to take out my pad. It was fine and all but then when it comes to taking it out it's all inflated. I understand that it has absorbed some of the water. I then squeezed it and this weird gel stuff comes out. What is this stuff? Thank you byyyyyye ;)