to risk your life by doing sth that you know is dangerous
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition