Which one is need to happen in order for a shadow to occur?

"Only the shadow knows"