Badges are items that serve as marks of achievement for defeating the Gym Leaders of Gyms. Each Badge corresponds to a certain type, and can be given out by the Gym that matches the type. As not all types are currently represented by Gyms, some Badges cannot be obtained without spawning them in.
List of Badges
All Badges from Generations 1-6 are in Pixelmon.