Agentic AI Explained: From Chatbots to Autonomous Workflows