To mirror your Android's screen, you'll need a Chromecast, a compatible TV, or a third-party app like Tenorshare Phone Mirror ...
You can use your iPad as a second display for your Mac through the Sidecar feature, which comes pre-installed.