Are you talking about AirPlay, or iPhone Mirroring?
Use AirPlay to stream video or mirror the screen of your iPhone or iPad - Apple Support
iPhone Mirroring: Use your iPhone from your Mac - Apple Support
AirPlay was originally designed to stream audio and video from an iPhone or iPad to an Apple TV set-top box. You can buy third-party applications for Macs and PCs to let them act as "AirPlay Receivers". (Many recent Macs have the ability to serve as AirPlay Receivers built in, and don't need the aid of third-party applications.)
One example of such a third-party application would be AirServer Universal for PC . This is a "for instance", not an endorsement. I'm not familiar with all of the "AirPlay for Windows" applications that exist, or how they compare to each other.
iPhone Mirroring is pretty much an "iPhone, Mac"-only thing.