What is the relationship between key stores, trust stores, and certificates? Are any of these tools proprietary to certain software? What literature could I obtain to get more information on these tools and how they're used in a broader context?

Thanks!