Medians on interstates

Recently while traveling on an interstate, I noticed that there is always a small valley located between the north and south bound lanes of most major highways (such as interstates and turnpikes). Do these valleys serve some sort of safety feature, are they used in drainage, or do they serve some sort of other purpose?

I think their main purpose is to keep the people from crossing over to the other side.