It is no secret that Selena Gomez has had a rocky on-and-off relationship with Justin Bieber over the past several years, but one reason why she has managed to avoid getting overwhelmed by the situation is because she is best friends with someone like Taylor Swift, who is known to be a serial dater.

Selena Gomez
Gomez recently revealed some valuable relationship advice Swift offered her

While promoting her most recent film 'Rudderless,' Gomez appeared on 'The Talk' on Friday and gave fans an insight into what kind of a friend Swift is by revealing the valuable advice the 24 year-old singer offers her.

More: Selena Gomez Reveals She Walks Around Naked When Home Alone

"She was actually at my house the other day and we were sitting by the fire and I was talking about relationships and business in my life and she just kind of looked at me and was like, 'Selena, if you're the smartest person in the room, I think you're going to be in the wrong room,'" Gomez explained. "She thinks I should constantly surround myself with people who are going to make me better, that are going to challenge and motive me."

She added, "It kind of stuck to me. I want to surround myself with those people."

More: Taylor Swift Debuts New Track ‘Out of the Woods’, But Is It About Harry Styles?

However, Swift's guidance may prove to be futile when it comes to trying to convince Gomez to leave Los Angeles and move to New York.

Swift
Swift seems to be the sort of friend every girl should have

"She bought her house in LA two years ago and I loved it," Gomez explained. "Sure enough, I finally get my own home and she moves to New York. She thinks I fit in personality-wise more there and I can understand that but I love my home and I'm going to stick to that for a while."