Hey guys, I have a Macbook Version 10.4.11 and my system preferences disappeared. What should I do?

Also, since the system preferences disappeared, my Mac's batteries don't work, meaning I can only use my Mac if it's plugged in an outlet. If I remove the charger, the Mac screen turns black and automatically closes. When I look at the top bar on my desktop, the battery icon has an x in the middle and says : "No Batteries Available"

Are these two problems linked?