- the exit node knows the second-to-last node, the cleartext data and the destination,
- each intermediate node knows the previous and next nodes,
- the entry node knows the sender and the second node.
And using HTTPS prevents the exit node from knowing the cleartext data.
This doesn't enable any individual node to know who sent what to whom, assuming that the whole path isn't entirely controlled by one person.