Check out example codes for "when to use internal kotlin". It will help you in understanding the concepts better.
Code Example 1
techinally, if you want a variable only available to files within the folder it's located in, then you use "internal"
Learn ReactJs, React Native from akashmittal.com