Squirting is when a woman releases a noticeable amount of fluid from her urethra during sexual arousal or at orgasm, from a few drops to enough to soak a towel. It isn't the same as getting wet: vaginal lubrication seeps through the vaginal walls, while squirted fluid comes out of the urethra, the small opening just above the vagina. Many people use "squirting" and "female ejaculation" for the same thing, but some researchers treat them as two different things.
Is it pee?
Mostly, yes, with something extra. In a 2015 study, researchers used ultrasound to scan the bladders of seven women who squirted regularly. Each woman emptied her bladder first; by the moment before squirting it had filled again, and right afterward it was empty. The squirted fluid had about the same levels of urea, creatinine and uric acid as urine. In five of the seven, though, it also held prostate-specific antigen (PSA), a protein from the female prostate (the Skene's glands around the urethra). The authors concluded that squirting is mainly an involuntary release of urine, often with a little prostate fluid mixed in.
A 2018 review draws the line this way: female ejaculation is a few milliliters of thick, milky fluid from the Skene's glands, while squirting is a larger gush of diluted, urine-like fluid. Both are different from coital incontinence, a leak of urine during sex that can be a medical problem worth seeing a doctor about.
None of this makes squirting dirty or fake. It's a real response to arousal, and the women in these studies weren't choosing to pee.
How common is it?
No one knows how many women squirt, partly because studies define it differently. In a Swedish online survey of 1,568 women, 58% of those who answered had experienced ejaculation or squirting, though the authors say plainly that they didn't measure how common it is in the population. Most women in that survey described the feeling as positive, and 86% said their partners had reacted well. Still, about a quarter had thought, the first time, that they'd wet themselves, and the most common reason for holding it back was simply the mess.
If you or your partner squirts
Put a towel or a waterproof blanket down, empty your bladder beforehand if that helps you relax, and don't treat it as an accident. There's no technique that works for everyone, and not squirting is just as normal as squirting. Our guide to mutual masturbation covers touch that partners can learn from each other.