Ethical hacking involves legally testing and assessing computer systems and networks to identify vulnerabilities and strengthen security. It plays a critical role in protecting organizations from cyber threats by proactively finding and fixing security weaknesses.