Pedal points are often found near the end of fugues "...to reestablish the tonality of the composition after it has become clouded by the numerous modulations and digressions along the way within the middle entries of the subject and answer and in the connecting episodes."