A rotary piston machine includes a first spheroidal element including pistons
and/or
cylinders and a second spheroidal element including pistons and/or cylinders, wherein
the first element can move relative to the second element. The machine can be used
as part of a pump, compressor, or engine.