What is XP and how does it work?