In music, counterpoint is the relationship between voices that are harmonically interdependent (polyphony) yet independent in rhythm and contour. It has been most commonly identified in the European classical tradition, strongly developing during the Renaissance and in much of the common practice period, especially in the Baroque. The term originates from the Latin punctus contra punctum meaning "point against point".
Counterpoint generally involves musical lines with strongly independent identities. Counterpoint has been used to designate a voice or even an entire composition. In each era, contrapuntally organized music writing has been subject to rules—sometimes strict ones. Chords are the simultaneous soundings of notes; whereas harmonic, "vertical" features are considered secondary and almost incidental when counterpoint is the predominant textural element. Counterpoint focuses on melodic interaction—only secondarily on the harmonies produced by that interaction. In the words of John Rahn:
It is hard to write a beautiful song. It is harder to write several individually beautiful songs that, when sung simultaneously, sound as a more beautiful polyphonic whole. The internal structures that create each of the voices separately must contribute to the emergent structure of the polyphony, which in turn must reinforce and comment on the structures of the individual voices. The way that is accomplished in detail is ... 'counterpoint'.
Some examples of related compositional techniques include: the round (familiar in folk traditions), the canon, and perhaps the most complex contrapuntal convention: the fugue. All of these are examples of imitative counterpoint.