Mark Twain liked to use dialects in his stories. Prominent on The Adventures of Huckleberry Finn, the use of dialect individualizes the characters and preserves their identity. It gives them a voice that makes them more authentic, realistic, enriching and unique.
Twain attempted to represent a society that was marginalized, and celebrated it through faithful realism.