My MackBook Air keeps crashing
I have a MackBook Air that I got mid 2018. It runs on Catalina and it's up-to-date. It started crashing randomly about a month ago and after a bit of search in here and on YouTube, I came to conclusion that I might have too many apps or other background programs that are draining the memory hence the crashes. I ran the diagnostics and disk utilities tests and they both came back fine. I deleted and removed Gigabytes of unused apps, documents, photos, and videos. I even thought it could be attributed to my Safari or Chrome but at times it crashes when nothing is even running and both search engines are closed. Please help. What test should I run on it to see what is causing these random crashes? Or what app do I need to download to help with diagnostics/fixing? It has crashed in the middle of some of the most crucial parts of my daily work.
MacBook Air 13″, macOS 10.15