Yellow lines painted across the road are used to warn drivers to reduce speed, often before sharp bends or hazards.