Using iMAC as bigger screen with MacBook Pro
Can I connect my old iMac to my new MacBook Pro for a bigger display
Can I connect my old iMac to my new MacBook Pro for a bigger display
If you're talking about Target Display Mode, the answer is no. New Macs don't support using any iMac as a Target Display – including iMacs that have that feature.
Use your iMac as a display with target display mode - Apple Support
If you're talking about AirPlay to Mac, your iMac might be able to act as an AirPlay Receiver if Apple introduced it in 2019 or later, and it is running Monterey or later. Note that AirPlay is not the same as a first-class hardware monitor connection, and there may be limitations with respect to resolution, lags, and/or artifacts.
System requirements for Continuity features on Apple devices - Apple Support
If you're talking about Target Display Mode, the answer is no. New Macs don't support using any iMac as a Target Display – including iMacs that have that feature.
Use your iMac as a display with target display mode - Apple Support
If you're talking about AirPlay to Mac, your iMac might be able to act as an AirPlay Receiver if Apple introduced it in 2019 or later, and it is running Monterey or later. Note that AirPlay is not the same as a first-class hardware monitor connection, and there may be limitations with respect to resolution, lags, and/or artifacts.
System requirements for Continuity features on Apple devices - Apple Support
No.
Depends. What version of MacOS is your iMac running? You may be able to connect your new MacBook Pro with your old iMac if you have the latest MacOS and have Sidecar enabled.
Also they need to follow the requirements below:
Using iMAC as bigger screen with MacBook Pro