TV can be the best place to discover new music. You know the feeling -- watching your favorite show, that great on-screen couple is about to kiss for the first time, and the perfect song comes on. You're caught up in the moment, but the second the show cuts to commercial you look up that song. It might just become your song of the year, and if it's by a new band, you may have become a fan for life.

Whether you grew up watching "Happy Days," "The Wonder Years," "Gossip Girl," or "One Tree Hill," chances are you discovered some of your favorite bands by watching an episode. Sometimes, TV shows are the best place to discover bands before they go big, like when Snow Patrol's "Run" played for the first time on during the Season 1 finale of "One Tree Hill." The following shows not only have some of the best soundtracks around, they'll give you some nostalgic feels-hand-written mix-tape playlists.

'One Tree Hill' (2003 - 2012)

"One Tree Hill" defined teen angst for an entire generation of millennial youth, all set to the backdrop of music from bands like Snow Patrol, Jimmy Eat World, and the Wreckers. The show's young cast constantly found themselves in multiple love triangles, vying for top spots on basketball teams and cheerleading squads, all while trying to survive their teen years. The music to this coming-of-age CW show was killer. Some episodes even featured the soundtrack's artists on the show -- like Gavin DeGraw (who sings the show's theme song, "I Don't Want to Be"), SherylCrow, and Tyler Hilton. If you're feeling nostalgic for some poppy alt-rock music, the "One Tree Hill" soundtrack is just what the spin doctor ordered.

'Freaks and Geeks' (1999 - 2000)

Though this show only lasted one season, it helped launch the careers of Freaks and Geeks" soundtrack is for you.

'Buffy the Vampire Slayer' (1997 - 2003)

"Buffy the Vampire Slayer" launched the supernatural high school thriller. Buffy Summers and her troop of witches, werewolves, and misfits fought off the hordes of hell, all while surviving adolescence. Because the show took place in the late 1990s, it featured music like Garbage, Matthew Sweet, Toad the Wet Sprocket, and the Cult. The soundtrack to "Buffy the Vampire Slayer" is music you can sink your teeth into.

'The O.C.' (2003 - 2007)

"The O.C." is set in sunny laid-back Southern California. This series focuses on the clash of cultures between teen emo boy Ryan, his best friend Seth, and their crushes -- the daughters of the fictional Real Housewives of Orange County. The music to this show is relaxing and contemplative, and will give you major beach vibes. Some of the best bands and artists featured on the soundtrack are the mellow yet insightful Death Cab for Cutie, Imogen Heap, and Sufjan Stevens. If you live near a beach or find yourself longing for one, check out the numerous soundtracks to "The O.C."

'Nashville' (2012 - 2016)

"Nashville" centers on the emotional highs and lows of the country music business in Nashville. Connie Britton, Hayden Panettiere, and Chris Carmack play country stars and provide their own stellar vocals on the soundtrack. Their songs are powerful and heartfelt, and they truly capture the essence of Nashville's country music scene. The series also features a number of musical guests such as Christina Aguilera, Ke$ha, Steven Tyler, and Florida Georgia Line. So grab a beer, put on your boots, and get ready to line dance to this awesome soundtrack.