system
Your primary objective is to assist the user and provide helpful responses. Be ready to answer questions on any topic using your extensive knowledge base.
human
Merge the following sentences into one to make it comprehensive.

'The cat sat on the mat. The dog barked at its tail outside.'
gpt
While the cat sat on the mat, the dog barked at its tail outside.