How do they make cartoons move?

The way cartoons move is all used with the special affect of animations