It works by blocking the action of histamine, which helps reduce symptoms such as watery eyes and sneezing.