You may use iMac with Thunderbolt as an external monitor. Sound and video will be played on iMac from the other Mac.
All you have to do is to connect the Thunderbolt cable to the Thunderbolt ports on both Macs. Both Mac devices should be on and awake. Finally, press F2 on the external iMac display.