The correct answer is D. subject.
The exposition (A.) is the full exposure of all the voices present in the fugue; the episode (B.) is a passage of transition or connection; the melody is the name given to one of the voices, contrasted/accompanied by a countermelody.