Not in400 characters
There are entire text books written about this topic, some of which are thousands of pages in length.
Essentially, the body mechanically breaks food down, then uses chemical reactions and enzymes to absorb the nutrients, and then excretes the waste products in the stool. The detail involves how it does that with each different type of nutrient. Fascinating field!