From Traderpedia

In candlestick terms, the area outside the real body.

An upper shadow would be the area between the high of the period in question and the top of the candle's real body. A lower shadow would be between the real body's bottom and the low of the period.

This is sometimes referred to as a "wick".