We've dissected last week's How I Met Your Mother's series finale  for its inside jokes , but there's another aspect to talk about now: the music, specifically the final song that plays just before the credits roll. Like many other series that wrapped up before it, How I Met Your Mother closed up with a deliberately chosen tune that adds to its final impact. Remember Six Feet Under's use of "Breathe Me"? Relive all these finales through their signature series-ending songs.
Source: HBO 
How I Met Your Mother
- The song: "Heaven" by The Walkmen
- The setting: Ted comes to Robin's window as this song plays, while minutes earlier, Everything But the Girl's cover of "Downtown Train" plays as Ted meets Tracy.
Sex and the City
- The song: "You've Got the Love" by Candi Staton
- The setting: This 1986 tune provides the soundtrack to the ending montage, as we see each character move on in her respective relationship.
One Tree Hill
- The song: "One Tree Hill" by U2
- The setting: Could there have been a more appropriate song to end the show?
- The song: "Don't Stop Believin'" by Journey
- The setting: One of the most frustrating finales uses one of the most recognizable pop songs of the last few decades.
- The song: "Life Is a Song" by Patrick Park
- The setting: This pretty song accompanies The O.C.'s wrap-up, as we see a montage of college, Seth and Summer's wedding , and Ryan finding success in his life.
- The song: "You've Got the Love" by Florence and the Machine
- The setting: Gossip Girl took a page from Sex and the City's playbook with the same song, this time covered by Florence and the Machine.
- The song: "It Never Rains in Southern California" by Albert Hammond
- The setting: The '70s song plays in the series finale of the show, as Veronica exits a polling booth and walks into the rain.
- The song: "Baby Blue" by Badfinger
- The setting: The upbeat 1972 hit plays for Walter White's final minutes on the air (and Earth).
- The song: "Say Goodnight" by Beth Nielsen Chapman
- The setting: The female vocal over the final montage of memorable Dawson's Creek moments is evocative of the opening theme, "I Don't Want to Wait" by Paula Cole.
Six Feet Under
- The song: "Breathe Me" by Sia
- The setting: Can you hear this song and not think of Six Feet Under? The final minutes of this series are eventful and intensely emotional and matched perfectly by Sia's song.