Star Trek: The Next Generation introduced the concept of the holodeck as a way for the crew to relax in a simulated environment while also providing a way for the show’s writers and cast to change things up. It allowed the show to escape the confines of the ship’s set and Starfleet uniforms, stepping into plots inspired by Sherlock Holmes and The Maltese Falcon or just relaxing by going horseback riding or swimming.