I could say Duet from DS9, Hush from Buffy, 33 from Galactic, Maybe something from the Sopranos or even Deadwood the list of proper sci fi and genre greats goes on and on, However there were 3 episodes of the medical comedy drama Scrubs that just stand out as some of the finest TV writing for me
3rd place - My Lunch - JD encounters a recurring Patient Jill Tracy who is clearly upset and a little manic at being stood up and wants to talk, however he doesn't stay and later that day she commits suicide. JD is hard on himself that he failed a patient. Its an emotional episode that shows that whats on the surface is sometomes hiding real pain underneath and its a supeb Half hour
2nd Place - My Philosophy - Death done as a Musical, JD has a patient waiting for a transplant she is a beautiful vibrant patient and all the staff like her, JD and her have a converstion about what comes next and the patient says that she sees death as a broadway musical with all her friends singing, She eventually dies and as Dr Cox is attempting CPR the strains of Colin Hays Waiting for my real life to begin starts and we fade to curtain and she is there in the spotlight and starts to sing, the rest of the cast also sing aling its just Bautiful
1st - My Screw Up - Just a master-class is handwavium writing look here and don't see this over here while you looking at that over there. Dr Cox is real happy as today is his son Jacks first birthday and the episode follows him preparing for the event and interacting with his co workers and his best friend (and Brother in Law) Danny who is in remission from Leukaemia. In the final moments we see Dr Cox and the cast all dressed apparently going to Jacks Birthday Party, Dr Cox makes an odd comment and JD stops and asks Dr Cox "where do you think you are?", we realise that we are at Dannys funeral he never went into remission and Dr Cox had been burying his grief in fantasy
It is the most heart breaking sublime bit of TV the moment his world crumbles was an emotional punch that is still with me years later
Vastly underrated TV show