How do you add a database so that scripts and sprites etc. are only downloaded when they are actually needed

Hi there. So, as my game is quite large, in storage, how do you add a database so that scripts and sprites etc. are only downloaded when they are actually needed. This way, it takes less storage.

What you are looking for is called Addressables in Unity.
Here is a documentation link.