lightning:recordForm component allows you to quickly create forms to add, view, or update a record. Using this component to create record forms is easier than building forms manually with lightning:recordEditForm or lightning:recordViewForm.
The force:recordForm component is a Lightning component that allows you to create a form that can display, edit, or create a Salesforce record. The component automatically switches between view and edit modes, provides default cancel and save buttons, and uses the object’s default record layout. The component also handles field-level security and sharing for you, so you don’t need to write any Apex code https://developer.salesforce.com/docs/component-library/bundle/lightning:recordForma small world cup.