The servo is a controllable motor that can swing back and forth or be turned to a specific position. Attach a flag to the arm to make it wave back and forth. There are even a few littleBits accessories made just for the servo (like the mechanical arm).
*Bit not compatible with plastic accessories in Droid Inventor Kit
*Bit not compatible with plastic accessories in Droid Inventor Kit