You can use an adjective clause after any noun in the sentence.
It can be part of the subject.
People who have guns scare me.
It can be part of the object.
I don't like people who have guns.
It can be part of a phrase.
There's a guy in the class that I took last year who knows you.