How AI Understands Dreams