There are many different types of animation and different methods of creating each, but the core principles of animation have always been the same. Animation is the art of creating an object whether it be by drawing it, moulding it out of clay or creating a 3d object in a computer programme such as Maya or blender, and changing the pose of said object to create the illusion of movement. The traditional style of animation are 2D pen and paper animation, where in you draw something, then draw that same thing in a different position on a separate piece of paper and repeat the process, to create the illusion of movement. Traditional 2D animation is the animation that you would see in all the classic disney movies such as Pinocchio and Fantasia. Nowadays animation is mostly done on computers, whether it be 2D animation that is drawn in programs such as Adobe Animate (formerly Adobe Flash) or 3D CG animation that would be done in programmes like Maya. CG animation is kind of like digital puppeteering, where in you create an object once and then simply move it around into different positions to create the illusion of movement, rather than repeatedly draw an object in different positions to create the illusion of movement.
Find out more in video above.