Gas in Ethereum refers to the fee required to perform a transaction or execute a contract on the Ethereum blockchain. It is necessary to pay gas in order to incentivize the miners who validate and process the transactions on the network.
A funny story about gas and Ethereum gas might go something like this:
There was a young girl who just began to know Ethereum, her user named Alice.
She had just learned about the concept of gas and how it was necessary to pay a small fee in order to make transactions on the Ethereum network. Excited to put her new knowledge to the test, she decided to buy some Ether (the cryptocurrency used to pay for gas on the Ethereum network).
As she was filling up her virtual gas tank, she noticed a little voice in her head saying “Hey, why don’t you buy a little extra gas? You never know when you might need it.”
Alice, being the cautious person she was, decided to listen to the voice and bought a bit more gas than she needed.
The next day, Alice needed to make a transaction and was pleased to find that she had more than enough gas in her tank. She thought to herself “Wow, that little voice was right! I’m glad I listened to it.”
But little did she know, the voice was actually the spirit of the Ethereum gas, who had taken a liking to Alice’s cautiousness and wanted to reward her for it.
From that day forward, Alice always made sure to fill up her virtual gas tank a little extra, just in case the Ethereum gas spirit decided to pay her another visit.