Animation works by using an optical illusion. By presenting a sequence of still images in quick enough succession, the viewer interprets them as a continuous moving image. This is the same principle that enables live action film making and projection to work.