The genetics
Heredity is a hidden engine of the story. The Bene Gesserit have spent generations arranging matings between noble bloodlines, with the aim of producing the Kwisatz Haderach, a man able to see the future and guide humanity. Paul is the unplanned result of Jessica's decision to bear a son, so he may be the expected superbeing a generation early, and his visions suggest that the programme has succeeded beyond its planners' control. The sisterhood is portrayed as a patient, manipulative political power that treats people as breeding stock, and the gom jabbar test shows how it measures "humanity" by its own standards. The breeding plan is a form of eugenics, a large-scale, long-term version of selective breeding, and the story's central fear, that a deliberately bred messiah may lead to holy war, is a warning about such projects. As with animal breeding, selection across generations can shift heritable traits, but nothing suggests it could produce prescience.
The story
In the distant future, the Emperor assigns Duke Leto Atreides control of the desert planet Arrakis, the only source of the spice, replacing House Harkonnen, but secretly plots with the Harkonnens to destroy him. Leto's concubine, Lady Jessica, belongs to the Bene Gesserit, a sisterhood running a centuries-long breeding programme; she was ordered to bear a daughter whose son would be the Kwisatz Haderach, a superbeing with prescience, but bore a son, Paul, instead. Paul, who has troubling visions of the future, passes the Reverend Mother's deadly gom jabbar test. On Arrakis, the Atreides are betrayed by their physician, Dr. Yueh, and the Harkonnens and the Emperor's Sardaukar attack; Leto is killed. Paul and Jessica escape into the desert, where they meet the Fremen led by Stilgar, including Chani, whom Paul has seen in his visions. Paul kills Jamis in a ritual duel and joins the Fremen. The film adapts the first half of Frank Herbert's 1965 novel.