A1. Hackers obtain passwords through various methods like phishing (where they trick users into entering their login details), data breaches, and malware that is designed to steal passwords.