For example, this could automatically reduce brightness when viewing a web page or app that does not respect the user's dark mode setting.
As for sound, this could, for example, make speech be at the same volume regardless of whether it comes from a video, podcast, advertisement, speech synthesizer, etc.
For websites without a dark mode, I use Dark Reader[1]. It does a fairly good job on most sites. It even works on Google maps and PDFs!