Use Lightning Data Service to load, create, edit, or delete a record in your component without requiring Apex code. Lightning Data Service handles sharing rules and field-level security for you.
In addition to not needing Apex, Lightning Data Service improves performance and user interface consistency.
Check the below link
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/data_service.htm
Example:
https://www.infallibletechie.com/2018/03/creating-record-using-lightning-data.html