An agonist is a chemical that binds to a receptor and activates the receptor to produce a biological response. In contrast, an antagonist blocks the action of the agonist, while an inverse agonist causes an action opposite to that of the agonist.