Theoretically, gas is a unit of measure for the computational work of transactions or smart contracts performed by miners at their own expense to maintain the operation of the Ethereum network. Gas in Ethereum is an integral part of the network. It serves to reward network members for maintaining the security and effectiveness of the platform.