I need a mac capable graphics card, it was working fine he had 16gb of ram detected, and some more in a box, he formatted the harddrive and then gave it to me, so the reason its not working is because the graphics card cant see anything to output, if there was a pre installed OS on the drive, it would boot right into MacOS?
if there was RAM in the box when he gave it to your then, should put it all back in.
If he reformatted the drive. Shut the machine down and then removed a bunch of stuff , the standard practice then is to turn it back on with hardware going to get it with. If it doesn't start then then don't pay. [ Pretty good chance there the previous owner doesn't have a "clean" install image to get the system running. So sold it and and "ran". ]
This sounds like he erased formatted the drive ( to remove his data and stuff ) and left a completely empty drive. The system won't work natively (just EFI boot) with the video card involved. So it is basically a door stop.
Macs from that era are supposed to transfer the boot CD-ROMs that came with the harddare along with the system hardware. MacOS isn't suppose to be decoupled from a Mac.
With the CD-ROMs, someone could do a "clean" install of macOS X on standard hardware. ( the non standard GPU card though would throw a bit of a curveball here. would need to create a semicustom clean install image. ( e.g. add an admin account, erase the other accounts and apps, backup (disk clone) , erase disk , restore, and then image that. It can be done, but work. )
This makes sense i think, ive been pulling my hair out trying to understand it, ive worked with windows since i was about 13 and im 32 now, so this is totally new for me.
Windows boxes from 2006 era similarly would have had "OS Recovery" CD-ROMS and/or a "reinstall Windows" partition on the drive. Roughly the same thing probably not being followed here on the transfer.