This document provides an overview of the petroleum refining process. It begins with an introduction that defines an oil refinery and its purpose of transforming crude oil into useful products like gasoline and diesel. It then discusses the major components and processes within a typical refinery, including distillation units, cracking units, and hydrotreating units. Linear and nonlinear modeling approaches for refinery components are also covered. The document concludes with sections on refinery locations and environmental and safety considerations.