In the final act, it is revealed that the entire day was a orchestrated by Lucifer.
The episode serves as Lucifer’s ultimate "revenge" and a strange form of bonding, showing how much effort Lucifer will put into a grudge.
The episode begins with Dan waking up in a field, naked and confused, with no memory of how he got there. He eventually makes it back to the precinct, where Lucifer offers him a simple job to help him get back on his feet: transport a prisoner from Mexico to Los Angeles. The Downward Spiral [S5E12] Daniel Espinoza: Naked and Afraid
The story of Season 5, Episode 12, " Daniel Espinoza: Naked and Afraid ," follows a wild, "bad day" odyssey for Detective Dan Espinoza. It is a standalone, comedic episode that puts Dan through a series of increasingly absurd and dangerous situations.
: Dan accidentally steals a bag of money belonging to the gang. In the final act, it is revealed that
: Dan is forced to participate in a series of illegal activities and high-stakes standoffs to save himself and his reputation.
: He finds himself in possession of a box containing what appears to be the severed head of a contact named Benito. He eventually makes it back to the precinct,
: The day culminates in a massive shootout at the precinct, where Dan believes he is witnessing the deaths of his colleagues and friends. The Reveal