Microeconomics is a branch of economics that studies the behavior of individual economic units, such as households and firms, and how they make decisions about how to allocate resources in order to maximize their satisfaction or profits. It includes the study of how people and firms act in markets, and how prices and quantities are affected by supply and demand.