An intersex gonad with both testicular and ovarian aspects, found as a normal gonad in certain gastropods, where it produces both sperm and eggs, and found in humans and some other animals as an intersex condition (associated with gonadal dysgenesis).