an ovipositor is the tube that females use to deposit eggs. It shows as a little white spot on their bellies.
They have eggs in their ovaries all the time, but when they're never fertilized or she isn't exposed to the male, she'll either false-lay them or absorb them. I have one girl that releases them at random. lol
Here's a shot of one of my females to better explain: