I will also agree with the two previous comments. It would be a very good idea to remove the cover on the power supply to make sure that it is clean and that there are no bulging/leaking capacitors. However, it is important to do this before plugging in, unless you are experienced in such service, as some of the components can hold a lethal charge for a time, even after unplugging again. Checking the power supply is even more important if the machine was used in a household with at least one moderate smoker, as that tends to encourage additional build-up that is more challenging to remove.
If unsure, include pictures, and someone will likely be able to offer additional commentary. Also inspect any other fans for built-up dirt.
Capacitors like C14 and C93 (and others like them) on the motherboard do look like tantalum capacitors. These can sometimes fail after long periods without being used. Usually, it is still relatively safe to test the machine if no other problems are found, as they won’t cause permanent damage if they do fail. If you hear a loud pop and see smoke, they will need to be replaced.