A gastrostomy is a surgical procedure in which an opening is created through the abdominal wall and into the stomach. This type of feeding tube can be used to provide nutrition, hydration or medications directly into the stomach when other methods are not possible or effective.