Explainable AI: Foundations Methodologies and Applications