None of them are. Although Photoshop can do a bit of video composing and GIF animation, but not very seriously. (Its keyframes don't even support Ease In/Out.)
Try the many tools which are already mentioned in the other answers. And if you're on a Mac, I'd like to add the wonderful Tumult Hype to the list.
Please beware of the subtle differences between animations for video, for web, for infographics, with interaction, etc. There are many kinds and purposes of animations !
Oorspronkelijk geplaatst op Quora: Which is the better animation program? Adobe Photoshop, illustrator, GIMP, or something else entirely?"