Bacteria are extremely diverse in structure and in how they obtain energy and nutrients. this diversity enables bacteria to live in a wide variety of environments.