Example of on-chain metadata working with OpenSea

Can someone provide me with an example of on-chain meta data being created and used with OpenSea tokenURI

what do you mean by onchain metadata? The metadata is stored on the blockchain instead of on IPFS or some centralised server?