A mainnet is the real, live version of a blockchain, where transactions carry actual value and everything runs for real. When people use a cryptocurrency day to day, they are using its mainnet. It is the finished, operational network.
A testnet is a separate, parallel version used for testing. It behaves like the mainnet but uses coins that have no real value, so developers can experiment, build applications, and find bugs without risking real funds. Testnet coins are usually free to obtain from a faucet, since they are only for practice.
Understanding the difference helps avoid confusion and mistakes. Sending real funds to a testnet address, or expecting testnet coins to be worth something, are common beginner errors. When trying out a new wallet or app, a testnet can be a safe place to learn before moving to the mainnet with real value.