Science fiction is a broad genre of fiction that often involves speculations based on current or future science or technology and is largely based on writing entertainingly and rationally about alternate possibilities in settings that are contrary to known reality.