Extraction and production of oil and gas