To help the reader better understand the plot, and the setting of the poem in which it takes place.
The participle in this sentence is "sweating". It's a participle of the verb " to sweat" and it's a present participle: which we know because it ends with an -ing (past participles end with "-ed).