Well, the purpose of a machine, whether simple or complex, is to accomplish work more easily by somehow transforming energy or motion.
(the purpose of a machine, whether simple or complex; is; to accomplish work more easily by somehow transforming energy or motion)
the purpose of a machine, whether simple or complex
is
to accomplish work more easily by somehow transforming energy or motion