oil refinery predates the first oil well.
The first oil pipelines are developed in quick order to move oil from the drill holes to nearby tanks and refineries. 1859: The world’s first commercially successful oil well is drilled in Titusville, Pennsylvania, by “Colonel” Edwin Drake.