Housewrap functions as a weather-resistant barrier, preventing rain from getting into the wall assembly while allowing water vapor to pass to the exterior.
It also has an energy efficiency quality by stopping air from penetrating through to the walls which will help with your heating and cooling bills.