Categories / Portfolio rebalancing

What are categories, how do they work and why do you need them?