Dehumidifiers work by removing moisture from the air. This can help to reduce condensation on walls and prevent mould and mildew growth. However, dehumidifiers will not necessarily dry out damp walls. If your walls are damp, you may need to use a combination of a dehumidifier and a fan to help dry them out.