An Introduction to AI: Definitions, Types, and Applications