The gas is produced from cysteine by the enzymes cystathionine beta-synthase and cystathionine gamma-lyase. It acts as a relaxant of smooth muscle and as a vasodilator and is also active in the brain, where it increases the response of the NMDA receptor and facilitates long term potentiation, which is involved in the formation of memory.