What is used as a temporary set of walls to keep soil and or water from entering the excavation ?

What is used as a temporary set of walls to keep soil and or water from entering the excavation ?