Protein is the building block of things like muscle, hair and connective tissue?

Carbohydrates are the preferred energy source for the body, excess carbs convert to fat.

Fat is the secondary source of energy, and is stored over carbohydrates for when there's no carbs to burn?

Not sure how in depth you're looking for but that's my general knowledge of them haha