Why did Janis Joplin kill herself?

She did not intentionally kill herself. She was found dead on the floor next to her bed in a motel, and toxiciology tests concluded her death had been a result of a heroin dose much more powerful than she realized (a higher , purer grade of heroin than she normally got from her supplier) mixed with excessive alcohol consumption.