Sentence:  In other words , if an ideal gas is compressed and kept at constant temperature , the work done in <WSD>compressing</WSD> it is completely converted into heat and transferred to the surrounding heat sink . 
Meaning of the word marked with <WSD> tags:  make more compact by or as if by pressing