This topic outlines the depth, temperature and time effects on the generation of hydrocarbons. It discusses the ways we can use source rock minerals to determine paleotemperature, and explains how to identify the various kerogen types and unique chemistries on Van Krevelen plots. Kerogen types, their origins, components and ability to generate hydrocarbons are discussed. The three important stages in the burial and evolution of organic matter into hydrocarbons are described. The topic outlines the two nonaqueous models in primary migration and lists the three main factors involved in secondary migration. It identifies the conditions under which secondary migration generally occurs and gives examples of the range of distances. Two ways that the solubility of hydrocarbon in water can be enhanced are outlined and it describes the distinction between primary and secondary migration.