It essentially takes a "slice" of your model and shows only that. It's not only vertices, as it will show partial faces and edges as well, even if the attached vertices are hidden. Use B to get everything back to normal. It's very convenient for working with things that have inside parts, like if you wanted to do the back of somebody's eyes, you could remove the back of the head to see what you're doing.