A plasmid is a small, circular piece of DNA that exists independently of chromosomal DNA in prokaryotic cells, primarily found in bacteria and some archaea. Plasmids carry genes that can provide various advantages to the host cell, such as antibiotic resistance or the ability to metabolize unusual substances. Their independent replication allows for easy transfer between cells, promoting genetic diversity and adaptation.