I note that on Earth races are subgroups of humans, and that all humans are members of one species, Homo sapiens.
In fantasy stories Elves, Dwarves, Halflings, Giants, Trolls, etc. are members of different species which coexist with human characters. And I find annoying that people write about different fantasy races when they are actually different fantasy species. Thus fantasy characters often exhibit prejudice against members of other species which should be classified as speciesism and not racism.
I note that in Tolkien's Middle-Earth, the seven races of the Dwarves are mentioned, and thus Dwarves include members of seven different races, which makes the difference between Dwarves and Hobbits and Elves bigger than the differences between human races.
Similarly in science fiction people from different planets in different star systems are usually members of different species, often drastically different in appearance. In fact all the lifeforms on planet A may be related to each other, but they should be totally unrelated to all the lifeforms on planet B. So the people of planet A are not just a different species from the people of planet B, but a different genus, a different family, a different order, a different class, a different phylum, a different kingdom, etc.
Thus a fantasy or science fiction writer could have a character think about how much he despised Globnork's entire species, showing that Globnork and the other character belong to different species and not just different races.
And maybe someone could point out that a character had no racism against other members of his species, but had prejudice against members of some other species. Obviously knowledge of other species of people might make many people more tolerant of other races, but their evil urges to oppress different people might be channeled against people of other species, instead of being fought against.
And maybe a character could be bullied by racist members of other races of his species, and also bullied by speciesist members of other species.