When you visit a normal website through Tor, the site never sees your IP. It sees the exit node's. The exit is where your traffic leaves the onion layers and travels the final stretch as an ordinary connection.

That position comes with visibility. The exit knows which site you're connecting to (though not who you are), and if the connection isn't encrypted with HTTPS, it can read and alter what passes through. Malicious exits have been caught doing exactly that: stripping HTTPS redirects, swapping Bitcoin addresses on unencrypted pages, injecting content. The Tor Project's bad-relays work flags them with BadExit or removes them, but some get through for a while. Tor Browser's HTTPS-Only mode closes most of the gap.

Exits are also why Tor users get blocked and CAPTCHA'd so much. Their IPs are public, and abuse from some users gets the whole IP blamed.

Running one is a real commitment. Abuse complaints land on the operator, and in some countries operators have had police visits. The Tor Project's community pages have advice on running exits safely. Connections to onion services never use an exit at all.