The flowering plant is cardiotonic. It is used in some proprietary heart medicines. The juice of the plant has been used with good effect in the treatment of cancers and ulcers. A decoction of the root is astringent. It is used to diminish discharges from mucous membranes. Source: https://pfaf.org/
Cotton thistle
Onopordum acanthium
Find more about this plant on Wikipedia.