Inside (or "female") condoms work the same way outside (or "male") condoms do: by containing semen, and the sperm cells it contains, inside the condom.
A condom still surrounds the penis -- and in fact, covers more surface area than outside condoms do -- it's just tethered to the vagina and vulva instead of to the penis. Make sense?
Never doubt that a small group of thoughtful, committed citizens can change the world. Indeed, it is the only thing that ever has. - Margaret Mead