Possible Duplicate:
Library vs. framework vs API?Library vs. framework vs API?
I am having hard times understanding what these concepts really mean. This software stack thing is very confusing. Can you please help me with this question, or if you can refer me to some article/book where I can learn in details about this software stack and how they interact together. I tried wikipedia but there is not enough explanations there and the confusion still exists.