The 'We Are Never Ever Getting Back Together' singer said that while her love life has experienced a lot of ups and downs, she uses heartbreak to inspire her songwriting.
"I went through a few roller coasters," Swift explained to Rolling Stone.
"Trying to chronicle each step of the way was challenging, because you go to some really dark places with the lyrics. Then in the next track, you're talking about how amazing it is to meet somebody new."
The 22-year-old went on to say that her romances have taught her a few things about what to look for in a partner, adding: "I know general things about love. How to treat people well, what you deserve and when to walk away.
"Other than that, love is a complete mystery - and that's why I like to write about it."
Swift is currently dating Conor Kennedy. The pair began their relationship in July.
Listen to Taylor Swift's 'We Are Never Ever Getting Back Together' below: