how oil and gas industry works