nightshade plants contain different types of alkaloid compounds, food factors that cause physiological changes in the body. the origin of the name "nightshade" is not clear, but some suggest the name describes how these plants prefer to grow and flower in the night and shade.