writing 101 - you establish the setting and what rules you have to apply to the characters :D

(it's also a really fun exercise imo as you get to craft a universe where your favourite theme gets to work but then have limitations which makes conflict and stakes more interesting to write and read)