Gas is the computational effort required to execute a transaction on the Ethereum blockchain. Every operation that takes place in Ethereum requires gas. For each requested transaction, users pay miners a fee based on the amount of gas needed to execute the transaction.
Gwei is the unit for gas. 1 gwei is equal to 0.000000001 ether.