Reading on chain token prices

Hi Team,

I’m trying to wrap my head around how I’d go about reading some of the native token prices on SundaeSwap or MinSwap. Is someone able to shed some light on how this would be done, or just a high level explanation of how on-chain oracles function?

Thanks!
Alex