These sets can usually be bought from NPC's or obtained by killing monsters.
Rare sets can be dropped from monsters. They can also be found in player shops. However, they are extremely expensive in most cases. Rare sets will give bonuses if 2 or more pieces are worn at the same time.