Some people fast for religious reasons or medical reasons, but isn't not eating for a long time kind of dangerous?

有些人因為宗教或醫療原因禁食,但長時間不吃東西不是很危險嗎?