In music, a fugue is a contrapuntal compositional technique in two or more voices, built on a subject that is introduced at the beginning in imitation and which recurs frequently in the course of the composition.
Hence, the main theme of a fugue is called the subject.