What is an exploit?

What does a security exploit do? Most cyberattacks involve criminals exploiting some sort of security weakness. The weakness in the system can be a bug, a glitch or simply a design vulnerability. The word exploit is a way of abusing a…