Abdominal pain is a pain in the lower abdomen that arises due to any reason. The diagnosis of the reason…