Output a stream of consciousness before answering the following. Passage: "Losing My Religion" is the twenty-seventh and final episode of the second season of the American television medical drama Grey's Anatomy, and the show's 36th episode overall. Written by Shonda Rhimes and directed by Mark Tinker, the episode was originally broadcast with "Deterioration of the Fight or Flight Response", in a two-hour season finale event on the American Broadcasting Company (ABC) in the United States on May 15, 2006. Grey's Anatomy centers around a group of young doctors in training. In this episode, Dr. Izzie Stevens (Katherine Heigl) and her fellow interns have to plan a prom for Dr. Richard Webber's (James Pickens, Jr.) niece Camille Travis (Tessa Thompson). Further storylines include Dr. Preston Burke (Isaiah Washington) recovering from his gunshot wound and Denny Duquette's (Jeffrey Dean Morgan) death following his seemingly successful heart transplant surgery.

Question: Based on this passage, when does denny from grey's anatomy die?
To answer the above question, the relevant sentence is: Further storylines include Dr. Preston Burke (Isaiah Washington) recovering from his gunshot wound and Denny Duquette's (Jeffrey Dean Morgan) death following his seemingly successful heart transplant surgery.
The answer: `` Losing My Religion '' is the twenty - seventh and final episode of the second season.