Racism is generally defined as actions, practices, or beliefs that reflect the racial worldview: the ideology that humans are divided into separate and exclusive biological entities called "races". This ideology entails the belief that members of a race share a set of characteristic traits, abilities, or qualities, that traits of personality, intellect, morality, and other cultural behavioral characteristics are inherited, and that this inheritance means that races can be ranked as innately superior or inferior to others.
In the cartoon show episode "All's Smurfy That Ends Smurfy", the Smurfs have a somewhat racist view of fairies that is based mostly on hearsay. Prince Garth, the fairy son of Queen Lianon, had some prejudices about the Smurfs when he discovered that the fairy gold that was buried under a tree stump had been stolen. This leads to a battle between the Smurfs and the fairy cavaliers that Queen Lianon and Papa Smurf eventually put a stop to when they discovered that it was Gargamel who was the one who stole the fairy gold, and thus the Smurfs and the fairies combined forces to stop the evil wizard from taking anymore gold from the fairy kingdom.
In the episode "The Bad Place", the Smurfs had to deal with the Grimies, a group of space travelers that were comprised of mud, whose living among the Smurfs for a time caused trouble in that they splattered mud all over the place. This led to a revolt that Brainy Smurf was in charge of to get the Grimies to leave the village at once, which was soon disbanded when the Smurfs saw how peacefully Baby Smurf and Baby Grimy played together and that the Smurfs and the Grimies could learn from each other.