Complex sentence: The former is present as a minor alkaloid of peyote, and the active metabolic breakdown product of the prodrug ibopamine, which has been used to treat congestive heart failure.
Split into simpler sentences: The former is present as a minor alkaloid of peyote, and a metabolic breakdown product of the prodrug ibopamine. It has also been used to treat congestive heart failure.