Gas gangrene is caused by exotoxin-producing Clostridium species (most often C. perfringens, and C. novyi, but less commonly C. septicum or C. ramnosum), which are mostly found in soil, but also found as normal gut flora, and other anaerobes (e.g., Bacteroides and anaerobic streptococci).
