What produces a medusa?

medusa and her gorgon sisters were nymphs posiedon was "dating" medusa athena caught them in her temple and turned medusa and her sisters into gorgons