Check out example codes for "unity add addressables". It will help you in understanding the concepts better.

Code Example 1

using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AddressableAssets; //You need to have the addressables package from the package manager installed.

public class YourClassName : MonoBehaviour
{
	//Add a script with this code to a Gameobject to get a List of assignable asset references
	[SerializeField] private List<AssetReference> references = new List<AssetReference>();
    
	//Add a script with this code to a Gameobject to get a List of assignable asset label references
	[SerializeField] private List<AssetLabelReference> assetLabelReferences = new List<AssetLabelReference>();
}

Learn ReactJs, React Native from akashmittal.com