PMM-II: A heat engine which violates Kelvin plank statement of the second law of thermodynamics is known as Perpetual Motion Machine of the second kind (PMM-II). Or 100 percent efficient machine which is impossible to obtain in actual practice, because no machine can convert whole of the heat energy supplied to it into its equivalent amount of work.
PMM-I: A heat engine which violets the first law of thermodynamics, such machine is known as Perpetual Motion Machine of first kind (PMM-I). Or It is defined as a machine which produces work energy without consuming an equivalent of energy from other source. Such a machine is impossible to obtain in actual practice, because no machine can produce energy of its own without consuming any other form of energy.