Kerosene is a petroleum product which before the internal combustion engine was considered the primary product of petroleum refining, with gasoline remaining as a minor byproduct.