Petroleum engineering is the branch of engineering concerned with extraction of oil and natural gas from the ground. The main task of petroleum engineer is try to optimize the methods used to drill and extract those natural resources to maximize the profi