What does a .torrent file do?
A .torrent file is a metadata, or an information file. It basically contains the data pertaining to the actual file you want to download. When it is opened by a BitTorrent client, it relays this information, and then allows it to start downloading the file you want by connecting to what is called a tracker.