By creating a swale around your home it directs water from the up-hill side around and beyond your home. This in turn keeps water from gathering around your foundation and causing problems

planning the slope around a home to allow water to flow around it