It was not booting into macOS and was displaying a hard drive error. I have replaced the original hard drive with a 240GB SSD. A fresh copy of macOS Catalina has been installed. The laptop has also been comprehensively dusted and cleaned with isopropyl alcohol.