To test a computer which hasn't been switched on for 6 to 10 years:
1). Plug the computer into a switched 13A wall outlet.
2). Stand at least 10ft/3m away from the computer.
3). Switch on the computer at the wall.
4). Check for exploding electrolytics or magic smoke from the PSU.
5). At arms length, press the power button on the computer front panel.
6). Stand back and check for magic smoke again.
If the computer starts up and reaches the Windows 7, Vista, XP, Millennium or 98SE login or Desktop screens, check this link and type in your Service Tag to download any user guides, specifications and service manuals.
https://www.dell.com/support/conten...ort-knowledgebase/locate-service-tag/Desktops
As USAFRet says, Dell parts (PSU and motherboard) can be non-standard sizes.
Many Dell PSUs are an unusual shape, making it impossible to fit a standard ATX power supply into the case.
https://www.overclockers.co.uk/blog/power-supply-form-factors-explained-everything-you-need-to-know/
Similarly, Dell often use a proprietary motherboard size, making it impossible to fit a normal microATX or ATX card.
https://en.wikipedia.org/wiki/Motherboard_form_factor
You might be able to fit a faster CPU or install more RAM on the existing motherboard, if the BIOS permits such upgrades. Check the manuals. This would probably involve buying second-hand components.
A more sensible upgrade would be to replace the SATA hard disk (if fitted) with a SATA SSD and clone the old operating system on to the new drive.
You could buy a used (working) GX280 for £10 here and cannibalise it for parts:
https://www.ebay.co.uk/itm/38491326...AD_R_KEYWORD_dell+optiplex+gx280&toolid=10049