Helicobacter pylori is a type of bacteria that infects the stomach lining and is a major cause of peptic ulcers and can lead to gastric cancer. It is typically transmitted via contaminated food or water and can be diagnosed through various tests, with treatment usually involving a combination of antibiotics and acid-reducing medications.