Utopian and dystopian fiction
Utopian and dystopian fiction are subgenres of speculative fiction that explore extreme forms of social and political structures. A utopia is a setting that agrees with the author's ethos, having various attributes of another reality intended to appeal to readers.
Source: Wikipedia — Utopian and dystopian fiction (CC BY-SA 4.0)