This textbook provides an overview of the origin and preservation of carbonate sedimentary rocks. The focus is on limestones and dolostones and the sediments from which they are derived. The approach is general and universal and draws heavily on fundamental discoveries, arresting interpretations, and keystone syntheses that have been developed over the last five decades. The book is designed as a teaching tool for upper level undergraduate classes, a fundamental reference for graduate and research students, and a scholarly source of information for practicing professionals whose expertise lies outside this specialty. The approach is rigorous, with every chapter being designed as a separate lecture on a specific topic that is encased within a larger scheme. The text is profusely illustrated with all colour diagrams and images of rocks, subsurface cores, thin sections, modern sediments, and underwater seascapes. Additional resources for this book can be found at: www.wiley.com/go/james/carbonaterocks