Microeconomics is the branch of economics that studies individual agents and markets, focusing on the supply and demand dynamics that determine prices and the allocation of resources. It examines how consumers and firms make decisions to maximize utility and profit, respectively, under constraints such as budget and technology.