Gas is a specific amount of a currency spent on a transaction or a contract as the needed fee.  Fees are defined based on calculation difficulties for different actions.