Check out example codes for "absolute path and relative path". It will help you in understanding the concepts better.

Code Example 1

/* Absolute Path */
https://www.w3schools.com/images/picture.jpg

/* Relative Path */
/images/picture.jpg

Learn ReactJs, React Native from akashmittal.com