Sex is the trait of a sexually reproducing organism that determines whether it produces one of two kinds of gametes, differing in size or shape. Male gametes are small and motile, while female gametes are larger. When a male and a female gamete fuse, they form a zygote that inherits traits from both parents. Organisms that produce both types are called hermaphrodites, and the term biological sex is often used to avoid confusion with other meanings of the word.
Sex determination systems






In species that are not hermaphrodites, an individual's sex is set by one of several biological systems. Most mammals use an XY system, in which males usually carry one X and one Y chromosome and females usually carry two X chromosomes. Birds use a ZW system, and some insects use an X0 system. Some reptiles and crustaceans instead rely on environmental factors, such as temperature, to determine sex.
Sexual reproduction and gametes






Sexual reproduction occurs only in eukaryotes and involves meiosis, which produces haploid gametes. During meiosis, matching chromosomes exchange regions of DNA, creating new combinations of genes. In animals, gametes are the only haploid stage. Sperm are small, motile cells, while egg cells are large and contain the nutrients needed for development. Some organisms, such as fungi, have mating types rather than male or female sexes.
