Torrent files are commonly used for peer-to-peer (P2P) file sharing, allowing users to download and share large files efficiently by dividing them into smaller parts that can be downloaded from multiple sources simultaneously.