This means that they can be used as vectors in genetic engineering, carrying DNA into the bacterium. It is important that scientists know whether a plasmid has successfully transferred a gene into a bacterium. To test this, they transfer the desired gene and a gene for antibiotic resistance together using plasmids.