The Bible is much more specific with regard to the purpose and origin of "ghosts".
While the pages of the Bible including all it's various translations use the word 'ghost' interchangeably with the word 'spirit', it is much more specific as to the origin, purpose and destiny of non-corporeal entities.
The secular world has only one definition and context for the word 'ghosts'. According to secular tradition and testimony, ghosts are manifestations of non-physical entities. Such manifestations usually appear in the form of visible objects, smells, sounds, sensations of presence such as chilly air, indirect movement or effect upon immaterial objects.
I personally class all such manifestations under the general category of BAIT.
Like a worm on a hook, these things cause unusual curiosity in humans. If 'hooked' the human will find it extremely difficult to escape from the growing influence of the spiritual entity upon its physical life, it's mind and it's ability to react freely in the world.
All such entities are a form of spiritual parasite. Unless guided and protected by God, all interest in them should be avoided.
par·a·site
noun
1. an organism that lives on or in an organism of another species, known as the host, from the body of which it obtains nutriment.
2. a person who receives support, advantage, or the like, from another or others without giving any useful or proper return, as one who lives on the hospitality of others.
3. (in ancient Greece) a person who received free meals in return for amusing or impudent conversation, flattering remarks, etc.
A spiritual parasite (ghost or spirit) fastens itself upon a living human and forces the human to perform its lusts. The human may not be aware of this influence in the beginning. As it becomes more pronounced, awareness becomes inevitable as well as the sense of the impossibility of escape or release. Premature death usually results from the abuse to the human body caused by these parasites.
Apart from salvation in the name of Jesus Christ and the help of the Holy Spirit, there is no possibility of escape from these influences.