OliviaRoss is right, mainly junk files and malware can slow down your mac. Aside from cleaning our your files, you may want to just sync your photos with iCloud so they won't take up too much space. You can also clear the cache: Launch CleanMyMac, then choose System Junk. Press Scan and then Clean.