Do animals have the sixth sense to perceive the presence of ghosts (demons, devils, negative energies, etc.)?
Most animals have the ability to sense the subtle-dimension. An example of this phenomenon is the event wherein all the animals at the Patanangala beach inside Yala National Park, Sri Lanka moved to higher altitudes just before the tsunami hit the coast in 2004. Some 60 visitors were washed away from the 500 square mile wildlife reserve, but barring two water buffaloes, all the animals survived the ravages of the killer tsunami.
Reference: National Geographic
All animals can perceive the negative vibrations emanating from ghosts, but they cannot identify the details like what is the type of ghost, its strength, its motive, what to do to defend oneself, etc. Dogs, horses, crows and cats are better known for their ability to perceive the presence of ghosts. However, animals cannot be trained to perceive ghosts because of their limited intellect.