The Inline-four engine or Straight-four is an internal combustion engine with all four cylinders. All four cylinders are mounted in a straight line along one crankshaft. It can be powered by different types of fuels, including gasoline, diesel and natural gas.