Any type of device to perform work using any type of power source is called a machine.