Despite its toxicity, compounds derived from deadly nightshade have been utilized in modern medicine. Atropine, for example, is used in certain medical settings to dilate pupils during eye examinations, treat bradycardia (slow heart rate), and as an antidote for some types of poisoning. However, these uses are strictly controlled and administered by healthcare professionals due to the risk of toxicity.