Identify the subordinate clause in the sentence below, and tell if it is used as an adjective, adverb, or noun.
The student who had not studied the lessons failed the test.
The student who had not studied the lessons failed the test.