Yes, it is possible for a person to have both testes and ovaries. This condition is called ovotesticular disorder of sexual development (DSD), and it can occur in both male and female individuals.
In ovotesticular DSD, a person has both ovarian and testicular tissue, meaning they have both male and female reproductive organs. This condition is rare, and can only be diagnosed through genetic testing, ultrasound, and other imaging tests.
The exact cause of ovotesticular DSD is unknown, but it is thought to be due to a genetic mutation that occurs during early fetal development. In some cases, this mutation occurs spontaneously, while in others, it is inherited from one or both parents.
Ovotesticular DSD can cause a wide variety of symptoms, depending on the individual and the severity of the condition. In some cases, a person may have ambiguous genitalia (not clearly male or female). In other cases, they may have both male and female secondary sexual characteristics, such as facial hair and breasts. Additionally, some individuals with ovotesticular DSD may experience infertility, due to the abnormal hormonal balance created by the disorder.
Overall, while ovotesticular DSD is a rare condition, it is possible for a person to have both testes and ovaries. Treatment for the disorder is highly individualized and may include hormone replacement therapy, surgery, or other interventions.