In this sitcom, Ted (Josh Radnor) dates a series of women, one of whom will be the future mother of his children. Ted’s life in New York revolves around his friends Barney (Neil Patrick Harris), a womanizing bachelor, and Lily and Marshall (Alyson Hannigan and Jason Segel), a married couple.