These creatures are usually undead, brought back to motion and life by necromantic magic or dark rituals. Skeletons in D\&D are one of the most common types of undead enemies, representing the remains of fallen humanoids whose bones have been reanimated.
eBay