Calcium carbide reacts with moisture to produce acetylene gas, which mimics the action of the natural ripening hormone, ethylene.