A broken yellow line on the pavement indicates that the adjacent lane is traveling in the opposite direction and passing is permitted. It is a question of a Driving Exam. Broken yellow lines can also mark areas where parking would cause an obstruction. But in this case, yellow centerline marks a two-way road (when it is broken you can overtake the vehicle in front of you). Just pay attention to the opposite direction, because there will be vehicles moving in the opposite hand.
A pavement marking such as a broken yellow line is part of a communication system for road users (it communicates to drivers where to position their vehicles, and indicate where passing is allowed).