Fasting is a term that describes a variety of approaches to limiting food intake throughout a 24-hour period, or longer. One common approach is intermittent fasting, in which people limit the number of hours they eat during the day. There are a variety of approaches to intermittent fasting and no one approach is better than another.
Other people prefer doing a fast in which they do not eat for 24 hours, two or three times a month. Longer fasts are possible but they require additional support and knowledge to reduce any negative effects from a lack of preparation.