Horizontal gene transfer (HGT), also known as lateral gene transfer, is the process by which an organism incorporates genetic material from another organism without being its offspring. This mechanism is prevalent in bacteria and archaea, and it plays a significant role in the rapid evolution of these organisms.