Both statement 1 & 2 correctly describe the importance of soil.
Statement 1 is accurate because soil does play a role in filtering water and can help to reduce the movement of pollutants into groundwater. Statement 2 is also correct as various types of soil (like clay) can indeed be used as natural building materials.