Because natural gas is colorless, odorless and tasteless, mercaptan (a chemical that has a sulfur like odor) is added before distribution, to give it a distinct unpleasant odor (smells like rotten eggs). This serves as a safety device by allowing it to be detected in the atmosphere in cases leaks occur.