How I Met Your Mother is one of the most popular sitcoms of all time. Focusing on five main characters as they journey through adulthood, growing in their work, love lives, and friendships throughout. One of the most popular characters from the show was Robin Scherbatsky, who was played by Cobie Smulders throughout the series.

RELATED: HIMYM: 10 Worst Things Lily Has Ever Done

While she is a main character who is heavily featured in almost every episode, that doesn't mean that fans know everything about her. But fear not, because, within this list, we will be aiming to reveal 10 things that many fans do not know about Robin, from facts about the character to the actress that played her.

Allergic To Lobster

We kickstart this list with some trivia that a lot of fans of How I Met Your Mother aren't aware of, which is that Robin Scherbatsky is actually allergic to lobster. The allergy is only referred to in one episode, which is why many have forgotten or aren't aware of it.

But the allergy is actually a very serious one. If Robin eats Lobster her entire face begins to swell up dramatically, which is why she doesn't eat it frequently throughout the show. The moment does provide a hilarious visual gag for the show though, which is likely why it was written in.

Canadian Background

Cobie Smulders as Robin in How I Met Your Mother

Both Cobie Smulders and Robin Scherbatsky are from Canada, with that always being the original plan for the show. While Robin was always intended to be from Canada, Vancouver itself was not always the original destination of choice for her.

RELATED: HIMYM: 10 Worst Things Ted Has Ever Done

The first plans were going to have Robin be from Toronto, but the slight tweak was made simply because Cobie herself was from Vancouver. While it wasn't a big change for the show, it did make things easier for Cobi as an actress.

Cobie's Pregnancy

With long-running television shows like this, there is always a chance that real-life situations are going to end up getting in the way of the show at some stage. In season five, that was the situation that How I Met Your Mother found itself in with its two leading ladies.

Both Cobie Smulders and Alyson Hannigan were pregnant in real life, which led to some issues while filming due to them not being pregnant on the show. In the end, increasingly larger handbags were used, so if you've noticed Robin suddenly having lots of bags in season five, that's the real reason why!

Cobie Battles Cancer

How I Met Your Mother Cobie Smulders

As we previously mentioned, real-life issues can often impact on the filming of long-term shows, and unfortunately, they're not always pleasant situations like pregnancy. Cobie Smulders was sadly was diagnosed with ovarian cancer in 2008, when she was just 25-years-old.

RELATED: 10 Most Iconic Phrases From How I Met Your Mother

While she didn't reveal she had battled it until after the show had finished filming, she did fight the disease during the show's run. She wanted to spread awareness by revealing her story, but thankfully she was able to defeat it and has been cancer-free for several years now.

Relationship With Barney

While Robin and Ted may have been How I Met Your Mother's version of Ross and Rachel, in the end, it is Barney who Robin ends up with for the longest period. However, according to the Chicago Tribune, the relationship was not part of the original plans.

It was reported that the real-life chemistry between actors Neil Partick Harris and Cobie Smulders, who played the parts, is what drove it to happen. After seeing them together on-screen and off it, the decision was made that they would work as a couple as part of the show and the push was made for that to happen.

Robin Sparkles

Everyone knows and loves the Robin Sparkles music videos from How I Met Your Mother. They provide some of the funniest moments from the entire series, but they weren't the easiest of scenes to shoot due to the amount of filming and choreography that was needed.

RELATED: 5 How I Met Your Mother Fan Theories That Make Perfect Sense (& 5 That Would Never Happen)

An extra day of filming was called upon to ensure the show got all the shots needed for this, which led to Cobie Smulders dancing for 16 hours in one day. Thankfully, all of that was worthwhile, as the end result was absolutely fantastic.

Sandy Rivers

Robin and Sandy anchoring the news in How I Met Your Mother

Sandy Rivers is a character that pops-up in a supporting role during Robin's time as a news anchor. He constantly asks Robin out on dates and is very sure of himself, eventually becoming quite an unpopular character on the show, with fans not liking him.

While most How I Met Your Mother fans will be very familiar with Sandy as a character, they may not be as familiar with the actor who plays him. Alexis Denisof is the man behind the character, just so happened to be the real-life husband of Alyson Hannigan, the actress who plays Lily.

Cobie Hates Guns

Robin on How I Met Your Mother

One of Robin Scherbatsky's strange hobbies is that she loves to shoot. It is something that she does frequently throughout the show, even having a necklace with a handgun shaped pendant. However, that love for guns doesn't spread as far as the actress who played her.

RELATED: How I Met Your Mother: 10 Behind The Scenes Facts You Didn't Know

Cobie actually hates guns in real life, mainly because she is so afraid of them. It is interesting that they added her to love them so much when Cobie had such a strong dislike for them, as she had to get used to using them in firing range scenes.

Jennifer Love Hewitt Turned Down The Role

Jennifer Love Hewitt in Ghost Whisperer

When people think of Robin they instantly think of Cobie Smulders, who played the part throughout the series. However, the popular actress wasn't actually the first choice to take the role when the casting was taking place for Robin.

Actress Jennifer Love Hewitt was actually the preferred choice to play Robin originally. However, Hewitt opted to turn down the part and according to E! News, she did so to do The Ghost Whisperer instead of the hit sitcom. This left the role empty and Smulders was brought in, a decision which turned out to be for the best.

Robin's Dogs

Robin looking out of her window in How I Met Your Mother finale

Everyone knows Robin is a huge dog fan. When we first meet her she has five in her apartment because she loves them so much. However, when she gets in a relationship with Ted he ends up making her get rid of the dogs as they go to live with her aunt.

While on the show he claims the reasoning behind that is because they were given to her by her ex-boyfriends, the reality is very different. The actual reason the dogs had to go is that Josh Radnor, who plays Ted is allergic to them in real-life.

NEXT: How I Met Your Mother: Every "One Rule" Barney Followed