As the legends go, it was fabled to be a snake that she used to kill herself, but historically it was certainly some kind of poison. As the story goes, she got a snake to bite her.
The song itself was about the tough conditions on the railroad. However, it is structured in short stanzas such as a ballad would be. The answer is ballad