Edema is the build up of fluid in the legs that can occur due to liver failure, cirrhosis, and liver cancer.