How does vioxx work?

Off market. Vioxx was removed from the market years ago. It was a selective inhibitor of the cyclo-oxigenase-2 enzyme.