OLD THREAD REPOST
In 2008, a paper was published reporting on a woman who had normal periods, conceived and gave birth normally, went through menopause normally and had normal hormones. Everything about her was as expected... except that most of the cells in her body had XY chromosomes.
Now, typically a fertilised egg with a 46XY karyotype will go on to have a penis and testes, and produce sperm. With a 46XX karyotype, it will go on to have a uterus and ovaries, vagina and vulva, and produce eggs.
Typically.
There are lots of variations.