Medications can be grouped into one or more classifications, by the chemical type of their active ingredient or the way they are used to treat a condition.