Petroleum is a fossil fuel created from the remains of ancient plants and animals. It is extracted as crude oil, then refined into different products like gasoline, diesel, and lubricating oil. These products are used as fuels in engines, where combustion converts the chemical energy of petroleum into mechanical energy that powers vehicles and machines.