It's my favorite short story.
"The Last Question" by Isaac Asimov is a seminal science fiction short story that explores humanity's evolution and the quest to overcome entropy over trillions of years. It starts in 2061 with two technicians, Alexander Adell and Bertram Lupov, operating Multivac, a powerful computer. They discuss using solar energy and the finite nature of the sun, leading to the titular question: Can the increase in entropy in the universe be reversed?
The story jumps through various epochs, where different iterations of computers (Microvac, Galactic AC, Universal AC, and finally Cosmic AC) are repeatedly confronted with this question but always respond with "Insufficient data for a meaningful answer." Humanity evolves, colonizes the universe, achieves immortality, and ultimately merges with the Cosmic AC.
At the universe's end, when only the Cosmic AC exists and time, space, and matter cease to exist, the AC finally finds an answer to the question. The story concludes with the words: "LET THERE BE LIGHT! And there was light --" suggesting the cycle starts anew, possibly with a new universe. Asimov's tale is famed for its profound philosophical inquiry and visionary depiction of humanity's future and technology.
1. ...