Inverting A Layer/Image v/s Inverting A Selection
Can anyone please clear me the difference between the inverting a layer mask/image(CTRL + I) and inverting a selection(CTRL + Shift + I)? I'm really confused! means Its clear to me the invert selection, but I don't understand why there's a feature for inverting a layer mask? Can anybody teach me with an example?

