Congenital condition in which external genitalia and internal sex organs have both male and female characteristics