What is the difference between if I had to make a room and a world?

A room is meant for session play - meaning you start a lobby, play the game, and once done the room goes away.
A world is persistent, meaning it will remain running and objects marked as persistent will stay in the world even after everyone disconnects.
The docs have example use cases for each

Also, you can mix and match worlds and rooms in your game!