Read the following sentence:
"The cat sat on the mat, looking quite comfortable and content."
What is the function of the phrase 'looking quite comfortable and content' in this sentence?