row /row

Hello!
The words row / row have an identical form but different pronunciations with different meanings. What is this artistic device? called?
e.g. a row of desks (line); to have a row(to quarrel)
Thank you for your time!

Artistic device?

To be completely accurate, these are homographs, but “homonym” is the term in more general use.