Hydrogen sulfide (H2S) is a colorless, gaseous chemical compound with the unpleasant foul odor of rotten eggs.