Fasting is the willful refrainment from eating and sometimes drinking. Some diagnostic tests are used to determine a fasting state. Intermittent fasting is a technique sometimes used for weight loss that incorporates regular fasting into a person's dietary schedule.