Set up a third-party app, and then add your iPad as a second monitor in Display settings ... Spacedesk is a free app that ...
Android, being an open platform, lets you do quite a lot with it, and there's a fantastic (not to mention free ... and easily use my tablet or my smartphone as a second monitor for my PC.