When an opaque object is placed in the way of light,its rays do not pass through the object.Therefore,a shadow is formed.
Shadows are patches of noticeably less light than the surrounding areas. A shadow is made when an opaque object blocks a light source from traveling through it.