Here is what the previous owner should have done prior to selling the Mac:
What to do before you sell, give away, trade in, or recycle your Mac - Apple Support
Even if the previous owner did those steps, I still highly recommend whenever you acquire a used device, you should always perform a clean install of the OS by first erasing the whole physical drive followed by installing the OS. This is so that you know you have a clean system without any hidden nasty surprises left behind by the previous owner and so you know it was done correctly.
As far as the AppleID and App Store.....I doubt there is any software available for an OS that old through the App Store today. If you previously purchased software for macOS 10.8.x with this AppleID, then you should be able to re-download previous purchases.
Some older third party apps may be available direct from the developer's website. Some developers will keep older versions of their software available....sometimes you may have to dig through their website to find the archives. Other developers may not provide any older versions of their apps.
FYI, you should be able to at least install up to macOS 10.11 El Capitan on this laptop....maybe even a more recent version of macOS, but it all depends on the exact model of this laptop. You can get the exact model of the laptop by clicking the Apple menu and selecting "About This Mac". You should always provide the exact model of the Mac when asking for assistance online since it is usually important.
Here is an Apple article for creating a bootable macOS USB installer (highly recommended so you can perform a clean install of macOS....also includes links for various macOS installers...read everything very carefully):
Create a bootable installer - Apple Support
Here is an article which shows which versions of macOS are compatible with various Apple hardware so you can determine the highest version of macOS compatible with the computer. Since this laptop is using such an old OS, if it never had a newer version of macOS installed, then you may need to install an intermediate OS before installing some later versions.
https://eshop.macsales.com/guides/Mac_OS_X_Compatibility