According to 2nd law of thermodynamics, it is not possible to convert heat 100% into work.
Well, investigating about the Carnot Cycle, I have found out that in the first step, the process is to heat a gas without rising its temperature, this is, converting all the heat into work. Isn't this a violation of the 2nd law?
I clearly don't understand something about the law or about the Carnot Cycle. I would like to know where I'm failing in my understandig. Thank you.