Sex is a type of reproduction common among living things. Sex is used by plants and animals, and also by fungi and various single-celled organisms. It usually needs two individuals which are different sexes from the same species. It works by combining genes from more than one source.

Biological type 
Organisms may have more than one kind of reproduction:
 Asexual reproduction: an example is the binary fission of an amoeba. Sometimes jellyfish, and many insects split or produce eggs without fertilisation. These are all methods of asexual reproduction.
 Sexual reproduction: most plants and animals reproduce by a union of two different sexes. Each sex makes the special cells used for reproduction. The new organism is made when both types of cells are united in a fertilised egg or zygote. Organisms that can make both kinds of cells for reproduction are called hermaphrodites. For example, most snails are hermaphrodite.
 Those organisms that produce sperm are called male, those that produce ova (eggs) are called female.
 Some animals and plants are capable of reproducing either sexually or asexually.

Benefits and drawbacks 
Asexual reproduction is easier than sexual reproduction, but there are benefits and drawbacks to both:
 An offspring produced asexually inherits genes only from its parent.
 Offspring produced sexually are genetically somewhat different from either parent. They inherit genes from both parents.

Humans 

In humans, sex is normally either male or female. For example: John's sex is male. Jane's sex is female. Most of the time, the sex of a person depends on what sex chromosomes that person got from his or her parents. A woman's ovum (egg cell) contains one X chromosome. A man's sperm contains either an X or a Y chromosome. When a sperm and ova combine to form a fertilised egg, the baby may get either of these chromosomes from its father. If the baby gets two X chromosomes, it will develop into a female. If the baby gets one X and one Y, it will develop into a male. Before babies are born, their sex parts are already formed, but not ready yet. During Puberty, the sex parts finish developing as well as other parts of the body like breasts and body hair.

There are some exceptions to this rule. Sometimes, the process of meiosis, which makes the sex cells, can go differently. This can result in a person having 3 X chromosomes, or 2 Y chromosomes or XXY instead of XY. Other times, the body may not follow exactly what their chromosomes are telling it to do.

Evolution 
Sexual reproduction first appeared about a billion years ago. It evolved within single-celled eukaryotes. The scientific community still discusses why it appeared, and why it still exists. Reasons commonly given include:
 Sex creates variation in offspring. If there are traits that give an advantage to the organism, they spread more easily. Traits that give a disadvantage tend to be removed quickly.

Sexual reproduction is a process that can only be found in eukaryotes. These cells have a nucleus and mitochondria. There are other kinds of organisms (other than animals, plants and fungi), the other eukaryotes – such as the malaria parasite – that also engage in sexual reproduction. Some bacteria use conjugation to transfer genetic material between bacteria.  This is not the same as sexual reproduction, but it results in a similar mixture of genetic traits.

In sexual reproduction the cells used for reproduction, called gametes, are either eggs or sperms. Fertilisation needs two different such cells. The mechanism of cell division only works when one sperm alone enters the egg. Once it is in, a fast reaction goes through the egg cell wall to shut off all other sperm.

Sex determination 

Sex determination in biology is about the function of sex, not what individuals look like. In humans, males and females usually look different. In many species they do not, except for the sex organs.
Sex can be determined in different ways:
 Hermaphrodites produce both male and female gametes. This system can be found in some animals, for example snails, and in most flowering plants.
 In most cases there are separate sexes. This means that an organism either produces male gametes or eggs, but not both at the same time. The biological cause for an organism developing into one sex or the other is called sex determination.
 As a result of sex determination, the organism is either male, or female.

When there is sex determination there are basically two cases:
 The sex is determined through the genes the organism inherits from its parents.
 The sex is determined through the environment.

Genetic 

Usually, sex is determined by an organism's genes. With genetic sex determination, most alleles or genes that influence sexual development are on the same chromosome. That chromosome is then called the sex chromosome. Because genetic sex determination is controlled by a pair of sex chromosomes (or if of one of the chromosomes is there or not), there are usually the same number of male and female offspring. In humans, for instance, sperms carry either an X or a Y chromosome, and they occur in roughly equal numbers.

Nongenetic 
For some species sex is not determined by inheritance, but instead by environmental factors experienced during development or later in life. Many reptiles have temperature-dependent sex determination: the temperature embryos experience during their development determines the sex of the organism. In some turtles, for example, males are produced at lower incubation temperatures than females; this difference in critical temperatures can be as little as 1-2 °C.

Some fish change sex over the course of their life. This phenomenon is called sequential hermaphroditism. In clownfish, smaller fish are male, and the dominant and largest fish in a group becomes female. In many wrasse the opposite is true—most fish are female at birth and become male when they reach a certain size. Sequential hermaphrodites may produce both types of gametes over the course of their lifetime, but at any given point they are either female or male.

In some ferns the default sex is hermaphrodite. Ferns which grow in soil which has previously supported hermaphrodites are influenced by hormones remaining to develop as male.

Related pages 
Asexual reproduction
The evolution of sex
Gender
Nudity
Sexual intercourse
Sexual reproduction

References 

 
Biological reproduction