What are transaction categories and how do they work?