Peritoneal fluid culture is a laboratory test performed on a sample of peritoneal fluid. It is done to detect bacteria or fungi that cause infection (peritonitis). Peritoneal fluid is the fluid from the peritoneal cavity, a space between the wall of the abdomen and the organs inside.