Canon is more of a musical form than a genre. Among independent canons, Pachelbel's "Canon and Giger in D major" is the most famous. Many canons are adapted from this piece.
The canon form is two-part or polyphonic. A form of polyphonic music characterized by the following: when the melody of one part appears, other parts imitate it immediately. The canon form is divided into strict canon and free canon. The former requires the melody to be completely consistent, while the latter allows slight changes in the melody. Canon music forms were used in most works of the Baroque era, and there are also some canon-style works.
But after the Baroque period, canon appeared more often as a method of writing a certain musical phrase