Beware.
Most failing businesses fail to pay employee withholding taxes. YOU will be responsible for those back taxes and penalties if you buy the business. Even if you get a written waiver from the local IRS office that you will not be held responsible, you will be responsible because no one in the IRS has the authority to make that waiver. Only a judge can do that and it won't happen. The IRS will come after you for the rest of your life. They can lock the doors and take every possession you own, including your house, car and everything in your home just to get pennies on the dollar for the unpaid tax obligation.
Do NOT buy a place with a tax obligation. You will regret it for the rest of your life.
I have a friend who did due diligence; he asked for and received letters from local, state tax offices and the IRS that there were no outstanding tax liabilities on a business. A year later, the IRS locked up his successful factory and put everyone out of a job for prior unpaid withholding because THEY failed to check when they gave him the letter.
He lost everything - his house, his family, his savings, and was homeless, living in an 15-year old car last time I saw him.
RUN from this business as fast as you can. Buy or lease the property and equipment, but do not "buy" the business.
Accounting services for small businesses are cheap and payable as a monthly retainer. Since you're unsure about it, it might be a good small investment every month.