A patient was instructed not to eat for twelve hours before coming to the hospital for a procedure. What is the most likely reason for these instructions?