When the patent of a drug expires, generic companies are allowed to produce the drug. They have to prove that their drug is the same as the original one.