I heard that investing in bitcoin is dangerous. How true is this?

Investing money in to bitcoin is not dangerous. Just plan to invest for long-term that is the secret.
The people that invested money in bitcoins 3-5 years ago are now millionaires, that is what you too should plan for.