Media queries allow CSS rules to be applied based on the characteristics of the user's device, such as screen size.