Petroleum is retained in shales either in a sorbed state or in a free form within pores and fractures. In shales with oil resource potential, organic matter properties (i.e. richness, quality and thermal maturity) control oil retention in general. In gas shales, organic pores govern gas occurrence.
American Association of Petroleum Geologists (AAPG)
Oil retention and porosity evolution in organic rich shales