Another way to say "Oil is used in many ways." is "Petroleum by-products have many functions."