Bismuth in Pepto-Bismol?

Bismuth is considered a heavy metal, something that sounds like you probably shouldn’t ingest it, but certain bismuth compounds do have unexpected medicinal properties.