The idea of growing food in space has been a topic of interest for many years. NASA began growing plants in space in the 1980s. At that time they were using it simply as an experimental process. According to this article from NASA that talks about the potential to extend human life beyond Earth, it is vital to understand how we can grow food in space and provide a sustainable food source for future space missions
https://www.ledlightexpert.com/nasa_growing_food_space_grow_lights