Ethical hacking, also known as penetration testing or white-hat hacking, refers to the authorized and legal practice of probing computer systems, networks, applications, and devices to identify vulnerabilities and security weaknesses. Ethical hackers, often employed by organizations or hired as security consultants, use their skills and knowledge to improve the security posture of systems by uncovering potential threats before malicious attackers exploit them.