Dissect the following sentence:
Gabby is the girl who refused to go to the doctor's office.
Also, my teacher told me that the word "who" has a significance when dissecting these sentences to determine whether the sentence is simple, compound, complex, or compound-complex, but I forgot.
What does who signify?