Humidifiers

Okay so dumb question... what are they used for?!

My room gets pretty stuffy at night and sometimes I have to go out into the hallway to get some air. Would a humidifier help me and baby with stuffiness in a room?