A procedure where a body’s or cyst’s cavity is punctured using a needle to obtain ascitic fluid or gas from the peritoneal cavity for diagnosis.