Squirting

So I'm not entirely clear as to what squirting is. Is it peeing yourself or is it a different liquid? Like I was close to an orgasm and all of the sudden I felt I a really intense need to pee? Was I going to piss myself or was I going to squirt. (I asked him to stop because I got scared) please help me!!