The answers are Y chromosome and X chromosome. These chromosomes are responsible for giving the gender of the fetus. Sex is defined by the SRY gene, which is the cause of turning the fetus into a male. In mammals, the male has 1 Y and 1 X chromosomes while the female has 2 X chromosomes. In addition to this, humans are said to have 22 pairs of chromosomes.