On your Macbook, go to Settings > Displays.
Select the dropdown for the option for AirPlay Display.
Choose the smart TV or device you want to use as a display for your MacBook.
Once the connection is made, a small window may appear on your smart TV.
Otherwise cable & adaptor.