The word 炼油厂 is formed by combining 炼 (to refine) with 油 (oil) to create the compound 炼油 (oil refining), which then modifies 厂 (factory), resulting in a term that directly denotes an oil-refining plant or refinery.