The body will break them down and use them for various processes it needs.
Carbohydrates will generally get broken down to glucose,energy source. Proteins are a source of essential amino acids, which the body uses to make its own protein.
I am hoping this helps ! Briannaazam :)