Slavery is a theme that is addressed in The Adventures of Huckleberry Finn. Even though Huck treats Jim as if he were inferior to him at the beginning of the book they develop a relationship that could resemble that of a father and son. Racism was prevalent in Huck's time, so he grew up with many beliefs about slaves that were wrong. Mark Twain uses irony and satire to make fun of this beliefs by making people seem foolish and to try to make them see that what they are doing is wrong.
An example of Huck's belief that whites were different from slaves is when he says," When we was ready to shove off we was a quarter of a mile below the island, and it was broad day, so I made Jim lay down in the canoe and cover up with a quilt, because if he set up people could tell he was a nigger a good ways off." This example of Huck's belief expresses that he wrongly thought people could see a black person person from a long distance. This kind of prejudice will eventually change as Huck travels down the river with Jim and learns that slaves and whites are similar in many ways.
Racism is also another thing that Mark Twain addresses in The Adventures of Huckleberry Finn. An example of this is when Huck's dad strongly objects the government for granting a black professor he meets suffrage. Pap doesn't like this because he thinks he is superior to the professor just because of the color of his skin. Throughout the book societies voice is heard through Huck. Due to this, the racism and hate that existed at that time is present.
In this book Mark Twain brings out the ugliness of the society and challenges his society to change its view on slavery.