Opening specific panes in system settings using the command line in macOS

I often find myself needing to access specific system settings panes via the command line or a script, but not often enough to remember how to do it. It happens infrequently, yet it’s frustrating every time I have to search for the information again. That’s why I’m writing this article, even though others have already.