Most well known blockchains charge a fee (known as a transaction fee or "gas" fee) to interact with the network. These fees prevent spam, and provide a way to compensate those who keep the network up and running.