A torrent is a type of file that contains metadata about the files being shared, including their name, size, and location. Torrents use a peer-to-peer (P2P) network, where users share parts of the file with each other, rather than downloading from a single server.