What is Cognitive Automation and how does it differ from Robotic Process Automation?

Cognitive automation is relatively new, but it offers a significant upgrade over other automation software. It can mimic and learn from humans' experiences. But what exactly is cognitive automation, and how does it differ from RPA?