Why do the corpses from Itachi and Nagato have eyes?

Can someone explain me that jutsu?