Check out example codes for "magento 2 enable template hints command line". It will help you in understanding the concepts better.

Code Example 1

php bin/magento dev:template-hints:enable

Code Example 2

php bin/magento dev:template-hints:disable

Learn ReactJs, React Native from akashmittal.com