You might find information about ECS here…
While it’s new in OOP video game, it’s kind of natural in FP