Before the excavated soil is filled in around your foundation, a waterproofing system needs to be applied to the walls. This does not serve as a complete barrier to water (even though it is commonly called waterproofing systems), but most applications help to seal the very porous concrete that comes in contact with the soil. Remember, your strongest line of defense against surface and ground water is good drainage. On the surface, that means proper grading away from the house, and at the foundation you need a good drain-tile system to get rid of ground water.
Pest control protection is also applied at this stage. The applications vary from area to area, but the most common are soil injections that help protect against termites.