Pavement markings work with road signs and traffic lights to give you important information about the direction of traffic and where you may or may not travel.
Yellow lines separate traffic travelling in opposite directions. White lines separate traffic travelling in the same direction.