Why Do Some European Countries Have Open Borders?

Since 1985, some European countries have allowed people to move freely between borders but the policy, known as Schengen, is coming under scrutiny in the light of the recent Paris terror attacks.