A machine is a mechanical, electric, or electronic device capable of performing work. Its usefulness derives from the ability to modify the total energy used to achieve a task. A simple machine changes the direction or quantity of applied force through a mechanical advantage, such as leverage, and it usually accomplishes this in a single motion. More complex machinery can have multiple simple machines performing in tandem, along with a wide range of moving parts. These machines can reduce the amount of labor necessary to complete a task by redistributing energy expenditure in a manner more efficient than that of direct manual effort. Whether molding, casting, forming, cutting, assembling, inspecting, or packaging, machines can be found at nearly every level of industrial manufacturing in both automated and operator-controlled form.