Natural gas is composed mostly of methane, but it also contains small amounts of ethane, propane, butane, and pentane. Methane, a combination of hydrogen and carbon, is formed when plants and animals (organic matter) are trapped beneath the sedimentary layers of the earth.
Hope this helps! ;)