An oocyte is produced in the ovary during female gametogenesis. The female germ cells produce a primordial germ cell (PGC), which then undergoes mitosis,forming oogonia. During oogenesis, the oogonia become primary oocytes.
I hope my answer has come to your help. God bless and have a nice day ahead!