A gene gun is a device used to deliver exogenous DNA into cells by bombarding them with high-velocity microprojectiles coated with genetic material. It is commonly used in genetic engineering and biotechnology for transforming plant, fungal, and bacterial cells.