A nested loop join is a naive algorithm that joins two sets by using two nested loops. Join operations are important to database management.
en.wikipedia.org