Ethical hacking is the practice of legally probing computer systems, networks, or applications to identify vulnerabilities and weaknesses. Ethical hackers, also known as white-hat hackers, use their skills to improve security by detecting flaws before malicious hackers can exploit them. Their goal is to protect data and enhance cybersecurity.