After absorption in small and large intestine, the nutrients are first taken to liver through portal vein In liver these nutrients are undergo following transformations:
Surplus nutrients are storage as glycogen, lipids and proteins etc.
Synthesis of blood proteins, lipids taken place in liver to replace metabolized products.
Toxic substances entering through GI tract are detoxified in the liver (e.g. conversion of NH3 into urea) and only clear and safe blood is allowed to enter general circulation.