‘Yūrei’ means spirit or ghost in Japanese, the same as ‘momok’ in the Malay language.
Some cultures believe that ghosts are wondering souls that haven't been called to heaven. But, some believe that ghosts are different entities which is a type of djinn.
-