To rid a place of evil spirits or ghosts. Generally occurs at the end of a horror movie when the spirit has had enough and leaves.
Baby.. omg omg this movie is so scary.. Wait, its over and the house is deghostified. Thats it? What the hell?