There are several forms of science fantasy. For example, breaking a known law of science results in a story of magic or occultism. Altering a scientific fact results in a story where a fact has been revered or denied. Counternatural actants or characters result in stories of superman, ghosts, telepaths, men at the mercy of their tatoos, etc.
Magic realism puts magical beliefs on a par with science, legend with history.
Fantastic beings move through real historical events while realistic characters undergo mysterious transformations. Science fiction has also made a major contribution to film history. A major theme of SF film today is the interaction of humans and computers.