Aspirin got its name in parts. The a came from the first letter of the product’s scientific name, acetylsalicylic acid.
The spir came from Spiraea ulmaria, the meadowsweet plant, which was the original source of the compound.
The in was a common suffix for medications in the late nineteenth century, when aspirin was first marketed.