Two jQuery methods deal specifically with parents: parent() and parents().

parent() selects the jQuery object that is the direct parent of each element in the jQuery object on which it is called.

parents() selects every element that is above each element in the jQuery object on which it is called - it will select parents, grandparents, and so on.