macOS Catalina preceded macOS Big Sur and introduced useful new features like Sidecar, allowing users to use an iPad as a second screen.
Open System Preferences after clicking on the Apple logo.
Click on General.
Next to the Appearance section, click on Dark or Auto.