Allocative efficiency occurs when resources are distributed in a way that maximizes the total benefit received by society. This means that the right amount of resources is allocated to produce the goods and services that people want, resulting in a situation where marginal cost equals marginal benefit. In this context, allocative efficiency ensures that resources are not wasted, leading to optimal outcomes for both consumers and producers.