Photography means literally writing with light (from Greek)
Light implies the possibility of shadow.
In some photos shadow is the 'subjet'
In others it is an element which can (or detract) from a photo's composition and/or aesthetics.
The photographer who masters the use of shadow in her/his work has a powerful skill to use, and an excellent tool in the photographer's tool kit .