A barium enema is a diagnostic procedure used to examine the large intestine, or colon. During the procedure, a contrast material containing barium is inserted into the rectum and X-rays are taken to create images of the colon. The barium helps to highlight the colon