An API can be defined as a compound that is biologically active and is used in the formulation of drugs. It is the core component that provides the desired therapeutic effect. For instance, in a pain-relieving medication, the API might be acetaminophen. The other components in the formulation, known as excipients, are inactive substances that serve as carriers for the API or enhance the stability, solubility, and delivery of the drug.