The course addresses key fundamentals of carbonate geology. An overview is given covering all aspects of carbonate geology from historical development of the field, to the mineralogy of carbonates, the individual components, depositional environments and classification systems. The evolution from sediments to rocks is covered by the introduction of diagenesis and the driving forces and physical environments behind diagenesis. The generation of rock sequences is elaborated through the introduction of the concepts of facies, facies belts, facies stacking and stratigraphy. Finally, the role of porosity, its creation, alternation and classification is developed with the aim to provide an understanding of the carbonate rock system for the oil industry. The course is based on lectures, lab work, field excursions and assignments.