sentences:  This plant has been used as a trap crop to protect potatoes from potato cyst nematode.The stems and leaves contain solasodine which makes the plant very resistant to many pests and diseases, with the exception of potato beetles and tomato hornworms.It can also be used as a hedge plant to keep animals out of a garden, because it is covered with prickles (erroneously called thorns).