Dear student,
A shadow is formed when the light from a light source is blocked by an opaque (non - transparent) object. A dark area is formed behind an object with light in front of it. The size and position varies with the relative position and strength of the light source.
Regards.