In other words, how do the stomach and intestines detect what substances are within themselves?