There are two main versions of the Megaminx: one with 6 colors, with opposite faces having the same color, and one with 12 different colors.
The purpose of the puzzle is to scramble the colors, and then restore it to its original state of having one color per face.