His training as a scientist is shown in his imaginative science-fiction stories. Wells described trips in airplanes and submarines when such modes of transportation had not yet been involved. The Time Machine describes a trip into the future and The War of the Worlds is an invasion from Mars. Several of science fiction works have the basis of popular movies.