It varies from company to company (and country to country) but usually you can take vacation days whenever you like, but they have to be approved by your superior. He makes sure that not everyone takes the same week off or that you don't miss a crucial part of a project etc. Often you are expected to take a certain amount en bloc (e.g. two weeks). At least that is my experience from working in the UK and Germany.