Bacillus thuringiensis (or Bt) is a Gram-positive, soil-dwelling bacterium.
The gene is removed from the bacteria and put into a crop like Corn or Cotton. The bacteria is not put there - and the crop doesn't produce bacteria - it produces the bacterial toxin.