A refinery is a big place. 

Raw oil is not very useful. 

Crude oil is a thick liquid from the ground. 
A refinery is a huge site with many pipes. These pipes move liquids between large units. One main tool is a distillation column. This tool uses heat to separate the oil. Different parts of the oil boil at different temperatures. This way is called distillation.
Lighter parts turn into gas or fuel for cars. We call this gasoline. Heavier parts become diesel or heating oil. Some parts make asphalt for roads. Other parts make things like plastic or nylon. 
Refineries have been around for a long time. The Chinese refined oil many centuries ago. In the 1800s, people used oil to make kerosene for lamps. Today, refineries are much bigger. The Jamnagar Refinery in India is the largest in the world. 
An oil refinery is a huge industrial plant. 

Refineries work by using a process called distillation.
People have been refining oil for a very long time. The Chinese were among the first to do this. As early as the first century, they used oil for energy. In the 500s, a writer named Li Daoyuan described making lubricants. 
Modern oil history began in the 1800s. Abraham Gessner made kerosene from coal in 1846. In 1854, Ignacy Łukasiewicz made kerosene from oil wells in Poland. 
Refineries are very important to our modern world. They are part of the downstream sector of the oil industry. Some refineries are much larger than others. The Jamnagar Refinery in India is the largest in the world. 
An oil refinery is a massive industrial complex designed to transform crude oil into useful products. 

The primary mechanism used in refining is distillation.
Refineries produce a wide variety of distinct products. These include gasoline, also known as petrol, and diesel fuel. They also create kerosene, which can be seen as a clear liquid in a jar. 
The history of oil refining stretches back to ancient civilizations. The Chinese were among the first to refine oil for energy as early as the first century. Between 512 and 518, the writer Li Daoyuan described refining oil into various lubricants. 
Technological advancements significantly increased refining efficiency during the 20th century. In 1908, the Romanian chemist Lazăr Edeleanu invented the Edeleanu process. This was a modern method of liquid extraction for refining crude oil. It allowed for much greater efficiency than pure fractional distillation alone. This process eventually spread to France, Germany, and the United States. In the United States, the industry changed rapidly with the invention of the internal combustion engine. While early refineries focused on kerosene for lamps, the rise of automobiles created a massive demand for gasoline. This shift drove the rapid growth of refinery size and complexity worldwide.
Refineries vary greatly in scale and capacity. In 2020, the total global capacity for crude oil refining was approximately 101.2 million barrels per day. The Jamnagar Refinery in Gujarat, India, has been the world's largest refinery since December 2008. 
Modern refining is also shaped by environmental and economic factors. In the United States, new refinery construction has been very difficult due to strict air and water cleanliness standards. Instead of building new plants, many companies revamp existing units. They do this to increase octane ratings in gasoline or to lower the sulfur content in diesel. This helps them comply with environmental regulations regarding air and water pollution. Refining is a complex balance of chemistry, engineering, and economics. It connects the raw resources extracted from the earth to the many products that power modern life and industry.
🖼️ Images & Media (25)
+ 13 more
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.