Some people may confuse malware and trojans because they sound similar. They are not the same thing, but they both have malicious intentions.
Trojans are a type of malware that infects computer systems through software or applications like USB drives, email attachments, or other programs. They can be used to steal personal information or data stored on the computer system.
Malware is a broad term for a variety of malicious software including trojans and viruses. Malware can be installed on your computer when you download files from the internet or open an email attachment that contains some sort of executable code that will bring malware to your computer without you realizing it until it’s too late