Flat engines are horizontally-opposed piston engines, and this group includes Boxer engines, but not opposed-piston engines like the Cummins 14.3L Advanced Combat Engine (ACE) designed to power tanks.
If you've ever taken a closer look at small planes or seen one being maintained, you might have spotted something interesting under the hood. The engine layout is often wide and flat, and not stacked ...