Understanding AI Agents: The Future of Automation