Human evolution isn't a binary tree. We inter bred and surely adapted characteristics from the other homo species.
As far as burial rituals for the dead, if anyone is interested, check Homo Neledi in the rising star cave structure. A fascinating discovery of an unknown homo off shoot and what can only be concluded as a ritualistic burial site. Due to the sheer difficulty and remoteness of the cave they were discovered in.
I would imagine they were slightly smarter than a 5 year old. But we don't call them Neanderthals anymore. We call them Democrats.