The purpose of science fiction can be to explore the future. It allows us to imagine how technology might evolve and impact our lives. For example, many science fiction works have predicted things like the Internet long before they became a reality.
Science fiction also aims at inspiring wonder and curiosity. It takes us to places and times that are far removed from our own, like distant planets or post - apocalyptic landscapes. This can fuel our sense of adventure and our desire to learn more about the universe.
One purpose is to comment on society. Through creating fictional worlds and scenarios, science fiction can criticize or highlight aspects of our current society. It can make us think about things like inequality, environmental issues, and the power of corporations in a different light.