Paraffin Wax is an organic, plastic-like substance that is solid at ambient temperature and becomes liquid when melted.
In general terms, waxes are naturally or synthetically derived.
Crude oil is transported to refineries where it is refined into finished products by complex processes.
One of the many products derived from refining is lube/base oils.
The waxes are produced in the lube/oil refining process.