Inside the tummy (abdomen), there is a membrane called the peritoneum. It has two layers. One layer lines the tummy wall and the other layer covers the organs inside the abdominal cavity. The peritoneum produces a fluid that acts as a lubricant and allows the organs to glide smoothly over one another. Sometimes too much fluid can build up between the two layers, and this is called ascites.