Gonopods are specialized appendages of various arthropods used in reproduction or egg-laying. In males, they facilitate the transfer of sperm from male to female during mating, and thus are a type of intromittent organ. In crustaceans and millipedes, gonopods are modified walking or swimming legs. Gonopods may be highly decorated with elaborate structures which may play roles in sperm competition, and can be used to differentiate and identify closely related species. Gonopods generally occur in one or more pairs, as opposed to the single (un-paired) reproductive organs such as the aedeagus of insects or the penis of harvestmen.