The main purpose of a refinery is to
Make petrol
Make different crude oils
Turn crude oil in to useful things
Make deisel