A fugue is a complex and structured musical composition characterized by the systematic repetition and development of a main theme, called the subject, across multiple voices or parts. It demonstrates intricate counterpoint and is often used to showcase both compositional skill and the expressive potential of polyphony.