Yes, a fugue is a contrapuntal compositional technique and formal structure in Western classical music. It develops a main theme (the subject) through imitation across multiple voices. Key structural elements include:
Fugues appear in works by Bach, Beethoven, Shostakovich, and many others.