source rock

A rock rich in organic matter which, if heated sufficiently, will generate oil or gas.