The Sixth Sense (1999) ending / spoiler

Cole (Haley Joel Osment) reveals to Dr Malcolm (Bruce Willis) his ability to see the spirits of the dead after an unpleasent experience in a birthday party. Malcolm fears that the child might be having a mental illness, but is determined to help Cole by "cooperating" with him. By that, he tells him to help the spirits he see - not to fear them. The advice succeeds as Cole returns to normal life, and ceases to be "freaky". That's where satisfied Malcolm and Cole say goodbye to each other. Malcolm returns home to his distant wife, and finds her sleeping on the couch in front of the TV, as their wedding tape plays on the screen. She gasps quietly, "Malcolm, why did you leave me?" and then she tosses a wedding ring on the ground. Malcolm watches the ring, terrified, only to see that His wife wears her own wedding ring. He then looks at his right hand... and the ring isn't there. Horrified malcolm realises the shocking truth: he was dead all along, and was one of the spirits Cole could've seen. A flashback of the dreadful night a year before returns to him, as he realises he didn't survive the fatal gunshot wound. Malcolm, now enlightened, sits next to his sleeping wife, and fades out as the screen playing the wedding tape turns white...