Foam dressings work by absorbing excess exudate while maintaining a moist environment over the wound bed. This helps to prevent maceration of the surrounding skin and promotes autolytic debridement. The semi-permeable outer layer allows for oxygen exchange but acts as a barrier to bacteria and other contaminants.