Shadow is always formed by an opaque object. Shape of the shadow depends upon 2 factors:
size of source of light
position of source of light.
Smaller the size of light source, larger will be the image, formed and greater is the distance between the object and light source, light will be the image formed. A shadow is always black is colour and is different in size than that of the object.