Footprinting is an ethical hacking technique used to gather information about a target system or organization without directly interacting with it. It involves collecting data on the target's network configuration, operating systems, employee contact information, and more. There are two main types: active footprinting uses tools like ping sweeps to directly probe the target, while passive footprinting uses public sources like search engines and social media. The goal is to identify security weaknesses before actually planning an attack.