Any rod-shaped bacterium. Generally, bacilli are large, Gram-positive, spore-bearing, and have a tendency to form chains and produce a capsule. Some are motile, bearing flagella. They are ubiquitous in soil and air and many are responsible for food spoilage. The group also includes Bacillus anthracis, which causes anthrax.