Why do you plant grass along the side of the road?

to keep the rocks on the road and the soil near the road.Also to keep the road in place.