Here is a rotary engine with a large portion cut away to show its inner workings.