A shadow is always formed by an opaque object. The shape of a shadow depends upon two factors:
Size of the source of light
Position of the source of light.
Smaller the size of the light source, larger will be the image formed and greater is the distance between the object and the light source, lighter will be the image formed.