Many variants of fasting exist; not eating anything that will spike insulin response in the body, done for religious and/or health benefits. The general goal is to lose fat and not muscle.
Thomas DeLauer is a fasting guru on YouTube. In intermittent fasting, the most popular is 16:8, 16 hours of fasting, 8 hour eating window.