To flip the screen on your Mac, you'll need to go into the "Displays" section of your System Preferences. Not all Macs ...
Flipping a picture on your iPhone is a good way to get a mirror image, such as if you need to read backwards text.