There may be a lot of light-heartedness and goofiness throughout just about every episode of How I Met Your Mother, but that does not hinder the show's ability to repay the audience's emotional investment with moments that truly affect them. The show does a great job at breaking hearts through the likes of Marshall's dad's death, but it also is capable of inducing happy tears.

RELATED: How I Met Your Mother: The 10 Saddest Episodes

So many moments throughout the show's nine seasons just make fans smile, not necessarily in a this is hilarious kind of way, but in an emotional, heartwarming way that is usually affecting the audiences and the characters alike.

The Leap

Ted leaps to the next door neighbour's patio with the gang in How I Met Your Mother

"The Leap" refers to a jump from Marshall, Ted, & Lily's apartment roof to that across the way, a jump Marshall had planned on doing for a long time. The leap meant a lot to the characters.

As older Ted states in his narration, he went through a lot in that past year and overcame it all, just like Marshall, and the rest of the gang overcame their own issues and made the leap. It is such a hopeful, optimistic ending to the episode, with the gang all sharing a loving embrace, making fans excited for what was to come next in their lives.

Ted Cheers Robin Up

Robin looking emotional with Christmas decorations in HIMYM

Ted's obsession with Robin is so often unhealthy and provides many moments that annoy fans and make them dislike Ted even more. This, though, was touching.

The episode "Symphony of Illumination" heartbreakingly reveals that Robin cannot have children, which she does not tell anyone. Ted becomes determined to cheer her up to her annoyance, but in the end, he tells her he does not want to know; he just wants to make her happy and creates Christmas in their apartment for her. It is a beautiful moment.

Marshall, Lily, & The Airport Marching Band

Marshall with a sign and a driver's cap in HIMYM

Marshall and Lily have such a beautiful relationship. Still, like any relationship, it is susceptible to, they are not always able to keep up all the cutesy nor the white-hot level of romance they did.

This comes to a head in "Three Days of Snow," where Marshall and Lily realize they have slacked on the things that have made their relationship, such as telling each other what they ate that day or meeting at the airport. After her plane was delayed, Marshall decided to surprise Lily with a marching band to make up for missing the turn of the new year and telling her everything he ate that day. It is an incredibly touching moment for the couple who consistently deliver on relationship goals.

Marvin Wait-For-It Eriksen

Lily's birth in How I Met Your Mother

Sticking with the couple, it was obvious from moment one that Marshall and Lily would have children on How I Met Your Mother. After a road full of twists and turns, it finally happened in "The Magician's Code - Part 1."

RELATED: How I Met Your Mother: 10 Times The Show Tackled Deep Issues

The birth of the gang's first child would likely be enough to earn it a place here. But the fact that not only did the baby get given the middle name waitforit, but as Marshall says, the baby was named Marvin after his recently passed father.

Barney's Moment Of Acceptance With His Mother

Barney's mom Loretta pretends to be the postmaster general to make Barney feel better in How I Met our Mother

Barney's childhood is the cause of so many of the issues he has as an adult, and so often, it is easy to blame Loretta for that, given how she was when Barney and James were children.

However, in the same episode where James meets his birth father, it comes to light that Loretta did not lie to Barney to avoid difficult conversations. Some lies she told to protect her son, doing so as a single mother nonetheless. When Barney realizes this, and Loretta tries to give him his father's address, Barney says he does not need it because Loretta is not only his mother but his father. It is a really great moment of vulnerability from Barney and another example of how much he truly cares about those close to him, whether they always appreciate it or not.

Marshall & Lily's Smaller Wedding

Maarshall and Lily have a smaller wedding ceremony outdoors with friends in How I Met Your Mother

Everything went wrong at Marshall and Lily's wedding, from Scooter's appearance to Marshall's hair catastrophe. In the end, though, it was all these mishaps that made their wedding so perfect.

Outside the venue with only the gang, the real family, Marshall, and Lily officially got married in a small, beautiful ceremony before going inside to the chaos and getting married in front of relatives and friends. Watching the two finally get married in such a personal way was just lovely.

Barney Brings Canada To Robin

Barney throws Robin a Canadian themed wedding rehearsal dinner in How I Met Your Mother

Speaking of weddings going wrong, that is fully what Robin and everyone else expected of her wedding with Barney, but despite some roadblocks, it really was perfect. The biggest worry came regarding the rehearsal dinner.

RELATED: How I Met Your Mother: 10 Scenes That Make Viewers Nervous When Rewatching

Barney made it seem as though he was expecting a laser tag rehearsal dinner; it was all a big ruse, though, as, in reality, Barney planned Robin's perfect rehearsal dinner in an ice-skating rink, bringing Canada to her since she could not go to Canada. The reveal was excellent, Robin's reaction was great, and overall it just made audiences so happy for the pair.

Marvin's Last Word

Marshall listens to his dad’s voicemail in How I Met Your Mother

The aforementioned death of Marshall's father Marvin was such an emotional gut-punch to fans, hitting like a freight train and standing still as the show's saddest moment across all nine seasons.

The funeral was not exactly a joyful occasion, and it was awful to watch people suffer in different ways, with Marshall struggling with his father's last words to him, which were meaningless compared to everyone else's. In a moment that goes from heartbreaking to heartwarming, Marshall listens to a voicemail from his father, which, after a long wait, ends with an I love you.

Barney Goes To San Fransisco

Barney goes to San Fransisco to tell Lily to come home to Marshall in How I Met Your Mother

Barney may be a terrible person at times, but he is so necessarily piled on by the group of people he loves the most that, at times, it gets pretty annoying. One prime example of this came when Marshall told him he should not be invited to the wedding because he does not want Marshall and Lily to get married.

Lily then tells Marshall something Barney told her not to tell anyone; he had flown to San Fransisco to give Lily a plane ticket home because she and Marshall belonged together. This was one of the earliest examples of Barney showing how much he truly, unequivocally loved his friends. He makes many mistakes and is not a good person sometimes, but when it comes to his friends, he would die for them, which is a crucial aspect of his growth over the years.

Ted Meets Tracy

Tracy and Ted under the yellow umbrella on How I Met Your Mother

The entirety of How I Met Your Mother's central and titular storyline culminates under the iconic yellow umbrella at Farhampton train station when Ted finally meets Tracy.

The moment is so satisfying. Seeing the banter and chemistry between the two, after watching every step on the long, long road, is incredible. Of course, the finale takes away from this moment a lot, but it is still incredibly heartwarming to see Ted and the mother meet at long last.

NEXT: How I Met Your Father: 10 Mistakes From The Original The Show Should Avoid