On a system level, an iPhone can use AirPlay to cast media from video and music apps to any device that also supports AirPlay ...
Aside from a rich app library, the Fire TV Stick supports screen mirroring from Android and iPhone. Your phone also has a built-in cast feature, but that only matters if your smart TV supports it.