Sentence:  The energy for any isothermal work done by the perfect gas must come as thermal energy from its <WSD>surroundings</WSD> . 
Meaning of the word marked with <WSD> tags:  the environmental condition