Funeral
From Memory Alpha, the free Star Trek reference.
Funerals are ceremonial actions associated with the body of a dead humanoid. Funerals often differ across cultures and can play an important role in religious beliefs.
Officers in Starfleet often decide to have a traditional Earth "burial at sea", changed for starships to a burial in space. The deceased is put in a photon torpedo casing, with the flag of the Federation (or in some cases, the flag of Starfleet Command) draped across it. A senior officer or someone close to the deceased usually says a eulogy, after which another officer blows a Boatswain's whistle as those gathered for the funeral stand at attention. The torpedo casket is then launched or beamed into open space. (Star Trek II: The Wrath of Khan; DS9: "Tears of the Prophets"; VOY: "One Small Step", "Ashes to Ashes"; ENT: "Similitude")
In 2376, the Starfleet practice of burial in space directly conflicted with the Kobali practice of salvaging corpses for reanimation as a means of procreation. The body of the late Ensign Lyndsay Ballard of the USS Voyager, who died and was buried in space in 2374, was reanimated to become Jhet'leya. (VOY: "Ashes to Ashes")
Civilians are known, according to their wishes, to receive a similar burial, except they are placed inside a different kind of container and beamed into space. (TNG: "The Schizoid Man")
A wake is an old Irish tradition that involves people staying with a person's body until the funeral. (DS9: "The Ship", "The Sound of Her Voice")
