What is the science behind a shadow?

The shadow is lack of light which is caused by obstacles between the "light generator" (like the sun) and the shadowed surface.