For laying eggs, the female chooses dark, damp places with enough organic food for future larvae. It could be rotting wood, a dead animal, sewers, or a trash can.