Frankenstein, The Time Machine and The War of the Worlds are usually filed as classics or as horror, and both labels miss what they are doing. Each one takes a single scientific premise and follows it without flinching, which is the whole method of the genre that did not exist yet when they were written. Read them together and the lineage becomes obvious.
Read in this order
Frankenstein; or, The Modern Prometheus Mary Shelley, 1818
The first novel to treat a laboratory result as a moral problem rather than a marvel. Everything about the ethics of invention that followed is a reply to this book.
The Time Machine H. G. Wells, 1895
The premise is one sentence long and the consequences take over the entire book. It is also the first sustained attempt to treat deep time as a place you can visit.
The War of the Worlds H. G. Wells, 1898
Written as reportage, which is why it still works. Wells keeps the invaders off the page for as long as possible and lets ordinary people describe what they cannot explain.
All 3 books in this path
Frankenstein; or, The Modern Prometheus
Not simply a monster story: three nested narrators turn scientific ambition into an argument about responsibility, abandonment and who gets to be called human.
The Time Machine
A Victorian inventor travels to the year 802,701 and finds that the human race has split into two species, one of which farms the other.
The War of the Worlds
Martians land in Surrey, and the most frightening thing in the book is how quickly ordinary English life stops being relevant.