Ecology is a particularly complex science to get right in fiction. Turn to Frank Herbert’s classic Dune to see how writers can use scientific principles to create entire ecosystems—and how they decide what science to highlight and what to ignore. Along the way, look at major real-world ecological projects and controversial theories that have influenced sci-fi.