Ang refinery ay isang pasilidad o planta kung saan ang krudo, natural na gas, o iba pang hilaw na materyales ay pinoproseso at dinadalisay upang maging magagamit na mga produkto tulad ng gasolina, diesel fuel, at iba pang produktong nakabase sa petrolyo. Ang proseso ng pagpino ay nagsasangkot ng paghihiwalay at pag-alis ng mga dumi mula sa mga hilaw na materyales, at pagkatapos ay ginagawang iba't ibang mga produkto sa pamamagitan ng mga prosesong kemikal. Ang mga refinery ay karaniwang malalaki at kumplikadong mga pang-industriyang installation na nangangailangan ng espesyal na kagamitan at mga skilled personnel para gumana.