What are the functions and compostitions of lipids, carbs, and proteins?

http://en.wikipedia.org/wiki/Nutrition