Plasmids are used as vectors to transfer and clone genes. They can be modified to carry specific genes, which are then introduced into host cells for replication and expression.