Neoplasms composed of tissues of the ovary or the testis, not neoplasms located in the ovaries or testes. Gonadal tissues include germ cells, cells from the sex cord, and gonadal stromal cells. The disease is Monarch Disease Ontology identifier MONDO_0006773 (gonadal tissue neoplasm).