The connection between generic drugs and patented drugs

patented drugs refer to drugs that are protected by patents.

generic drugs refer to drugs that are not original drugs, but are copied on the basis of others' original drugs.

patented drugs can also be generic drugs, and generic drugs can also be patented drugs. This is their connection.