Why are grandsons and other descendants sometimes called “sons” in the Bible?

This article has been translated into the following languages: