A generic drug is a pharmaceutical drug that contains different active ingredients but has the same therapeutic effect as an existing drug. Generic drugs are often used when an existing drug is no longer available or when a new drug has been developed with the same therapeutic effect.