Foundation Models Explained: The Backbone of Modern Artificial Intelligence