Agentic AI Essentials: Evolution, Reasoning, and Real-World Applications