What is the meaning of Pay_one's_respects?

To grieve or mourn a person to a degree appropriate for one's relationship; to attend someone's funeral.

Source: wiktionary.org