Cannot understand a joke from "Friends"
Serial "Friends", season 2, chap. 12
Phoebe says: "What do you want me to be? Like some ... stupid, big, like, purple dinosaur?
And gets the answer: "You don't have to be Barney".
I wonder - who's Barney? I guess it's a character of a children's book, or a cartoon, or what?