Spontaneous bacterial peritonitis is a serious infection of the fluid in the abdominal cavity that occurs without a clear source of infection. It commonly affects patients with advanced liver disease and cirrhosis and requires prompt antibiotic treatment.