Even giving heat continuously to sink how it's temperature remains constant
In a Carnot engine, the sink is maintained at a fixed lower temperature to which any amount of heat can be rejected. The sink has infinite thermal capacity so the temperature remains constant even if any amount of heat is rejected to it.