Gene cloning involves inserting foreign DNA into bacterial plasmids. Restriction enzymes cut DNA at specific sites, creating sticky or blunt ends. Plasmids can replicate independently and accept foreign DNA fragments. The recombinant plasmid is inserted into bacteria via transformation or electroporation. Transformed bacteria are selected using antibiotics or blue-white screening to identify those containing the recombinant plasmid, allowing mass production of the cloned gene.