Production and consumption of gas