What is the difference between Efficiency and Coefficient of Performance?

efficiency is capacity of engine to produce power from fuel supplied while cop is how effectively energy is used to obtain the desired effect