Using a laptop as a monitor for another computer allows you to not only mirror your computer's screen on the laptop but also extend it, meaning you can show different content on both screens.
Buying a second monitor is probably the best option, but what if you don't want to do that right now? The good news is you can use your laptop as a second screen for your main computer ...