Pharmaceutical ointments are semi-solid, greasy, or emulsion-based topical preparations designed for external application to the skin or mucous membranes. They function as carriers for medication, delivering active ingredients while forming a protective, moisture-retaining barrier. Common bases include hydrocarbons (petrolatum) or absorption bases.