Bismuth subsalicylate is a medication commonly used to treat gastrointestinal discomfort, particularly diarrhea, indigestion, and upset stomach. It works by coating the stomach and intestines, providing a protective barrier against irritants and reducing inflammation, which connects it to conditions like peptic ulcer disease and gastroesophageal reflux disease (GERD). This compound is often found in over-the-counter products like Pepto-Bismol, making it a widely recognized treatment for various digestive issues.