Oil shale is a type of sedimentary rock that is rich in kerogen. Kerogen is a part of rock that breaks down and releases hydrocarbons when heated. Hydrocarbons are substances made entirely of hydrogen and carbon. Petroleum and natural gas are probably the most familiar hydrocarbons. The hydrocarbons in oil shale can be used as an alternative to petroleum or natural gas.