Database seeder is used to populate tables with data.
Model factories is a convenient centralized place to define how your models should be populated with fake data.
In seeder class you would leverage model factories, and model factories will most likely use another library to generate random fake data, such as fzaninotto/faker.
What if I don't want random data, but insert a specific set of array. Say for instance, I have categories and I put the name in an array, and then I want the exact names to be populated in the database, how would you go about doing that?