Why are grooves provided in the soles of shoes?

Grooves in the soles of shoes help in increasing the friction when we walk on the roads. The grooves in the shoe sole help in maintaining a grip with the ground. 

33