In chapters 17 and 18 of The Adventures of Huckleberry Finn, Huck meets and briefly stays with the Grangerfords. They are depicted as kindly, generous, civilized people, with one flaw which turns out to be quite literally fatal: their intense and irrational hatred of the Shepherdson family. Although Huck does not directly encounter the Shephersons, his observations from a distance confirm that they are exactly the same.
From the Grangerfords and the Shepherdsons, Huck learns about the depths of human irrationality. Both families have all the advantages they could want and would be able to enjoy idyllic lifestyles if they could only live in peace. They do not know why they are feuding, and Buck's comment to Huck that there are no cowards among the Shepherdsons suggests that they have a certain admiration for one another. The two families attend the same church and sit with their guns close at hand listening to the preacher talk about brotherly love, an irony that does not seem to strike them.
Twain's depiction of the Grangerfords and the Shepherdsons is primarily comic, but it ends in tragedy as they slaughter each other over the elopement of Harney Shepherdson and Sophia Grangerford. Huck is greatly relieved to escape back to the freedom, sanity, and simplicity of his life on the raft with Jim.