What is it?

So I was recently having sex and when finished I stood up and felt something drop out of me. Out of reaction I reached down and it was a long mucus like string that came out. What is it?