Confused about Forclosure auction. Help Needed

Well there is a forclosure property that went for auction in Wake County North Carolina for 13K (which i found out was the remains of an equity line of credit) but at the register of deeds i found a mortgage on the property for more than 80K i called the mortgage company and they told me they foreclose on the home in November.

I was under the impression this was a deed sale. So what are you buying for 13K?

Thank you for the help! I am confused to say the least.

You are paying for the deed and taking ownership of all
senior debts/liens. In this case, the first mortgage.
You will need to pay off the first mortgage once you get
the deed or they will foreclose based on their due on
sale clause.