Use: We use Lightining:recordForm component for add,edit and view a record in salesforce.
Functionality:
Short description: Using this component we can easily create a form . Mode attribute specify the type of form. Mode values are view, edit or readonly.
Example: