How do “malicious links” infect devices and how do I avoid them?

I’ve heard that malicious or sketchy looking links on the internet can be a cause for concern but I never knew how they worked. I’m always on edge in places like comment sections because I’m scared I might click on one by mistake.

Is it possible for a person to accidentally click a link and have their phone or computer completely under control of malware or spyware?

submitted by /u/GuyswabThreepwood
[link] [comments]