How does streaming to the Steamdeck work?

I don't really understand the concept even after looking it up. Is it literally just running the game on my PC? Like, would I get FPS that my powerful PC should be getting, and if so, why wouldn't everyone with a PC do this? Is there noticeable lag? What are the downsides?

Thanks in advance.