How does a research masters work?
Advantages of doing a research-based Masters (e.g an MRes) before the PhD:


learn research skills
explore your subject
refine your research question
get a big chunk of your literature review done in a structured setting
work out if taking a PhD is really for you - whether you've got the aptitude and the interest