"The Shadow Out of Time" by H.P. Lovecraft is a profound science fiction novella that explores themes of time, identity, and cosmic horror. The story follows Nathaniel Wingate Peaslee, a university professor who experiences a sudden, unexplainable amnesiac episode that lasts for five years. During this time, his consciousness is exchanged with that of an alien being from a dying planet, allowing him to experience and record vast eons of alien civilizations. Upon recovering his human consciousness, Peaslee is haunted by dreams of otherworldly archives and strange creatures, driving him to seek proof of his experiences. His quest leads him to a remote Australian desert, where he discovers ancient ruins....
I won't reveal the ending here.