The vibe-motor is essentially a tiny DC-motor with an offset weight attached to the shaft. It rotates at high speeds to provide a vibrating motion which is widely used in various electronics. While the motor can be powered by a GPIO pin this is not advised due to the high currency some motors may require, and the risk of blowback.

Links:

Setting up a vibe motor with Arduino