Simplify the following text for a Grade 8 native English-speaking person.
Original: Historically bismuth compounds were used to treat syphilis and today bismuth subsalicylate and bismuth subcitrate are used to treat peptic ulcers .
Simplified: This medicine has bismuth subsalicylate in it . It is also used as an internal deodorant and to treat eye infections and peptic ulcers .