Rumble strips are present to:

Shoulder rumble strips are a series of indented or raised elements installed on a paved roadway near the travel lane. The purpose of a rumble strip is to create noise and vibrations to alert an inattentive driver to the fact that they have left the travel lane.
DMV Writen Test