Petroleum coke is primarily used as a fuel source in various industries, including power generation, cement production, and steel manufacturing. It is also used as a feedstock in the production of anodes for the aluminum industry.