Debt seniority

Hey there, just a quick question:

Is there any difference betwenn second/third lien debt and senior secured debt/secured debt?

Thanks in advance

in case of default, second lien debt stands behind the senior secured debt.

Basically, senior secured debt has primary precedence over the collateral, second lien has a secondary claim and so on