I was replacing the hard drive of my desktop computer but now I don't know where the cable [see picture] fits. it obviously goes somewhere since the computer does not turn on now. The Hard Drive is SATA if relevant. Thank you!
That's the main power connector for the motherboard. It probably plugs into that white socket behind it on the board, but check the motherboard manual to make sure you put it in the right place. It's pretty hard to plug things into the wrong place most of the time, but check to be sure.