Imagine you and your friends are all trying to get to school at the same time, but there's only one road that can handle a certain number of cars. This means that if too many of your friends try to take the road all at once, they might get stuck in traffic and be late for class. This is called congestion.
Now let's say that everyone has to pay a toll to use the road. Some of your friends might decide that it's worth it to pay extra to get to school faster, while others might not want to spend the extra money. This is similar to a real world scenario where tolls are used to manage demand for a congested resource.
In the context of economics, this scenario is referred to as a "congestion game." The goal of the game is to get to school (or any destination) as quickly and cheaply as possible. But because there are limited resources, everyone's individual decisions can impact the outcome for the group as a whole.
The "price of anarchy" in this game refers to how much worse off the group is when everyone acts in their own self-interest, compared to if everyone cooperated for the common good. In other words, it measures the cost of selfish behavior.
For example, if everyone in the game decided to take the toll road without considering the impact on others, they might create more congestion and end up being even later for school than if they had all taken a less congested route. This is the price of anarchy.
The idea of the price of anarchy applies to many different scenarios, not just traffic. It's a reminder that sometimes we need to think beyond our own self-interests in order to achieve the best outcomes for everyone.