A stoma bag, also known as an ostomy bag, is a medical device used to collect waste from a surgically created opening (stoma) in the childâs abdomen. The stoma allows waste to bypass certain parts of the digestive or urinary system. This is often necessary due to congenital conditions, infections, or diseases that interfere with normal bodily functions.