aerobic bacteria use oxygen based respiration, anaerobic bacteria use either nonoxygen based respiration (e.g. nitrogen, sulfur) or fermentation.
anaerobic
aerobic.
Aerobic bacteria uses oxygen for cellular respiration and anaerobic bacteria doesn't require oxygen to survive. ˇ_ˇ 
Bacteria that do not require aerobic respiration are known as anaerobic bacteria. These bacteria can survive and grow in the absence of oxygen by using alternative electron acceptors in anaerobic pathways such as fermentation or anaerobic respiration. Examples of anaerobic bacteria include Clostridium and Methanogens.
anaerobic.
Salmonella bacteria are anaerobic.
Aerobic bacteria uses oxygen for cellular respiration and anaerobic bacteria doesn't require oxygen to survive. ˇ_ˇ 
Facultative anaerobic bacteria can switch between using aerobic and anaerobic metabolism depending on oxygen availability. Obligate anaerobic bacteria cannot survive in the presence of oxygen and rely only on anaerobic metabolism, while obligate aerobic bacteria require oxygen for survival and use aerobic metabolism exclusively.
Aerobic bacteria have a competitive advantage in an oxygen-rich environment because they can use oxygen as a final electron acceptor in their respiration process, which generates more energy than anaerobic respiration. This allows aerobic bacteria to outcompete anaerobic bacteria and thrive in oxygen-rich conditions.
Aerobic bacteria need oxygen, while anaerobic bacteria do not need oxygen to survive. They both are bacteria and obtain food in one way.
aerobic bacteria use oxygen based respiration, anaerobic bacteria use either nonoxygen based respiration (e.g. nitrogen, sulfur) or fermentation.
Monera bacteria can be aerobic (requiring oxygen for metabolism) or anaerobic (able to thrive without oxygen). Some species are capable of both aerobic and anaerobic metabolism, depending on the environment they are in.