The sex of a baby is determined by the type of chromosomes present within the nucleus of a fertilized egg. The chromosomes which control the sexual development of an organism are called sex chromosomes. A female has two 'X' chromosomes, whereas a male has one 'X' chromosome and one 'Y' chromosome. Thus, eggs produced a female will have only 'X' chromosomes, but males can produce both 'X' and 'Y' containing sperms. Thus, the sex of a baby is not determined by the egg that gets fertilized.