When 2D characters in video games are animater or change their shape, they actually change "their costumes" for each pose.
As you may have concluded, the costumes are essentially the different shapes that comprise the animated sprite. Now you will find out how to create costumes for your sprites.