Barriers and road markings are there to protect vulnerable road users by separating the <u>lanes </u>used by road users.
Vulnerable road users include:
Pedestrians
Motorcyclists
Cyclists
Barriers and road markings separate the lanes used by motorists in cars and those used by these vulnerable road users to ensure that the motorists don't injure them.
In conclusion, the lanes are separated to protect vulnerable road users.