Prostaglandins are synthesized from arachidonic acid by the action of the enzyme cyclooxygenase (COX). There are two main isoforms of COX: COX-1 and COX-2. COX-1 is generally involved in the maintenance of normal physiological functions, while COX-2 is induced during inflammatory processes. This distinction is crucial for understanding the role of prostaglandins in disease conditions.