A favicon is the little icon that appears in your browser tab.
To set up favicon follow steps below:
Step 1:
In your WordPress dashboard, click Appearance and then Customize.
Step 2:
Open “Site Identity” tab then , open “General” tab.
Step 3:
In this section Click on “Select image” button, to open media library.
Step 4:
Choose and insert your image from library.
Step 5:
Click on “Save & Publish ” button to save changes.
Note: Icon must be square and at least, 512px wide and tall.