In a isothermal process temperature remains constant. According to first law of thermodynamics Q=W+∆U. here ∆U is internal energy. For ideal gas ∆U is function of temperature only hence ∆U=0 for isothermal process. Hence we get Q=W for isothermal process. But according to kelvin-planck statement of second law of thermodynamics heat is not completely convertible into work. Then how this Q=W is possible for isothermal process.