Use an iPad as a second display for a Mac
With Sidecar, you can use your iPad as a display that extends or mirrors your Mac desktop.
Show your Mac desktop on your iPad
If using macOS Big Sur or later, click the Display menu in Control Center or the menu bar, then choose your iPad from the menu.