Resveratrol belongs to a class of polyphenolic compounds called stilbenes. Some types of plants produce resveratrol and other stilbenes in response to stress, injury, fungal infection, and ultraviolet (UV) radiation.