What cryptography algorithm is used to generate a seed phrase?

What algorithm is used to generate a seed phrase for the Bitcoin wallets? I am guessing it could be Elliptic Curve, maybe EC25519