You don't need to break encryption to learn a lot. Traffic analysis looks at the shape of communications: which IP talks to which, when, how many bytes, in what rhythm. Militaries were doing it with radio traffic in the World Wars, inferring troop movements from message volume alone.

Online, it shows up in several forms. A correlation attack matches traffic entering and leaving Tor. Website fingerprinting guesses which site you loaded from the sizes and timing of encrypted packets. ISPs and governments collect netflow records, summaries of every connection, and keep them for months, which can be analyzed after the fact.

Defenses work by making traffic look less distinctive or by adding noise. Tor uses fixed-size cells and some padding. Mixnets delay and shuffle messages. Constant-rate cover traffic is the strongest defense and the most expensive. For most users, the realistic takeaway is that encryption alone doesn't hide metadata, and Tor's protection depends partly on an adversary not seeing both ends of your connection.