Sword and planet
Sword and planet is a subgenre of science fantasy that features rousing adventure stories set on other planets, and usually featuring Earthmen as protagonists. The name derives from the heroes of the genre engaging their adversaries in hand-to-hand combat primarily with simple melée weapons such as swords, even in a setting that often has advanced technology. Although there are works that herald the genre, such as Percy Greg's Across the Zodiac (1880) and Edwin Lester Arnold's Lieut. Gullivar Jones: His Vacation (1905; published in the US in 1964 as Gulliver of Mars), the prototype for the genre is A Princess of Mars by Edgar Rice Burroughs originally serialized by All-Story in 1912 as "Under the Moons of Mars".
The genre predates the mainstream popularity of science fiction proper, and does not necessarily feature any scientific rigor, being instead romantic tales of high adventure. For example little thought is given to explaining why the environment of the alien planet is compatible with life from Earth, just that it does in order to allow the hero to move about and interact with the natives. Native technology will often break the known laws of physics.