What functional group of aspirin causes it to irritate the stomach?

What functional group of aspirin causes it to irritate the stomach?