I learned that Ethereum policy permits the network to include some other unique projects and tokens. Since Ethereum's launch, many other projects and tokens have been added to the network.
Ethereum is a smart contract platform. A smart contract can be anything.
First: I want to know what those tokens are for. Furthermore, why is it produced on the Ethereum network?
Tokens are created in order to keep track of
things. It is a representation of that
things. And
things can be anything since it is just a smart contract.
Why was it produced on Ethereum? because Ethereum is a project that is specifically made to be able to accept smart contracts on their blockchain.
Second, what is the actual function of the ERC-20 and ERC-721 on the Ethereum network?
As an ecosystem where everything is almost possible, it is required that the community set a standard. Standard is required to make adoption and compatibility run smoothly across the spaces.
So, ERC-20 and ERC-721 are just two of many standards within Ethereum. It is built to set a specific trait so other wallets or Dapps, or anything related will be able to easily implement these tokens.
If you want to dig deeper into what it is all about, take a look further at:
https://ethereum.org/en/smart-contracts/https://docs.openzeppelin.com/contracts/4.x/tokens#standards