Cantharidin is a poisonous chemical compound found in the Spanish fly.

The powder made from the dried and crushed beetle has been used as an aphrodisiac, under the mistaken impression that the urinary irritation created was sexual arousal.