Sounds like either your world, your lights, or other objects are set to be visible in the viewport but hidden during render. If you look at your outliner, make sure that all your lights/objects have the 👁 and 📷 icons enabled. 👁 means "visible in viewport" and 📷 means "visible in render"