In an example of how science fiction can inspire actual science research, an international team of scientists has developed a working "holodeck." This space is capable of projecting and simulating a virtual world in which animals can be studied.
https://futurism.com/scientists-have-created-a-holodeck-for-flies-fish-and-mice/