Different purposes. Tor was intended so you could access the real web anonymously.
I2p the whole thing is an anonymous web. Everybody is a node. Tracing a packet never ends because you can’t be sure you found the origin of the packet. Which only gets worse the longer somebody remains connected to i2p. And it even can handle torrenting, a torrent client is built in.