It goes on a guys "part" to stop the sperm from entering a women during a "intercourse" Guys use a condom when they don't want kids. If a sperm enters a woman and her egg gets fertilized a baby will start to grow in the womans womb.
Hope that helps. Thought of all that on the top of my head lol