Metrical trees are hierarchical representations used in linguistic theory and music analysis to model the rhythmic structure of language and compositions. They help in visualizing how beats or stresses in a sequence relate to one another, highlighting patterns of strong and weak elements in speech or music.