Check out example codes for "selenium findElements returns the same element". It will help you in understanding the concepts better.

Code Example 1

String articleTitle = article.findElement(By.xpath(".//h2/a")).getText();

Learn ReactJs, React Native from akashmittal.com