The nightshade family (Solanaceae) is really interesting to me. Some plants are poisonous like deadly nightshade (Atropa belladonna) while others are commercially important like tomatoes (Solanum lycopersicum), peppers (Capsicum sp.), eggplants (Solanum melongena), petunias (Petunia sp.), and tobacco (Nicotiana sp.).
Like many plants in this family, eastern black nightshade (Solanum ptycanthum) contains the alkaloid toxin solanine in its foliage and immature berries. Most herbivores avoid this plant, though the larvae of at least one moth species feed on the leaves (some leaf herbivory is evident in the photos, perhaps from this moth).
The berries of this nightshade are green when immature and black when mature. The mature black berries are less toxic and edible in small quantities. Some birds are known to feed on them.