DeFi Explained: Fundamentals, Categories, and Risks