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…