Appositive phrase, because. it is a phrase that is describing John.
In grammar, the object is the thing that is being acted upon by the subject. Among the four options, the object is whom. This is because whom is a noun that is being acted on by a subject. The other three options are almost always used as subjects and not the object.
The answer to the question is C.