When you cast something, what happens is that your phone or tablet acts as a remote control and sends instructions to the Chromecast device attached to the HDMI port of your TV. Then, the device receives those instructions and streams content from the app directly onto your TV screen.