The BMW S38 is a straight-6 DOHC piston engine which replaced the M88 and was produced from 1986-1996. It is based on the M88/3 engine.