Exploring Dynamic Field Set usage
Field sets are really useful tool for assigning a group of selected fields from a given sObject to be used in code for any given use case.
Whether you wish to create a new record, update an existing record, show a small form, sort, filter or even map external service response Json nodes into sObject fields – Field Set will be a handy tool.