Paracentesis can be done for diagnosis, to analyze ascitic fluid (in which small quantities are removed), or for treatment, typically in patients with chronic tense ascites (in which case large quantities are removed).