This test is done to help determine the cause of ascites, an abnormal buildup of fluid in the abdomen.