Why does the vertical line test work?

The vertical line test works because no two points are on the same line verticaly.