Animation is a series of work. Its not basically done with the help of a single software. we use multiple softwares like maya, max ,cinema 4d etc for 3D Animation mean while we use after effects nuke and other compositing softwares to export it as video or an image or to any format which is help for a normal person to view. In case of 2D the pipeline is different and comparatively small. For 2D we use adobe flash and few other supporting softwares and plugins.
If you are planning to learn animation then you should change the question a bit different or if you are just seeking knowledge then this question is fair enough.
Photography is a truly modern art form because it uses technology to be created, and technology is a modern form for making art forms