The liver needs oxygen for its work, but the blood in the portal vein has already delivered its oxygen to the intestines.
The liver therefore receives oxygen-rich blood through the hepatic artery, the blood vessel that connects the heart to the liver.