A proxy is a go-between. Your program connects to it, tells it where to go, and it fetches the data and passes it back. The website sees the proxy's IP address. Common types are HTTP proxies, which understand web requests, and SOCKS proxies, which forward any TCP connection.

A single proxy gives you a different IP, and that's about it. The proxy operator sees everything you do, and free public proxies are often run by people with reasons to want that. Many don't encrypt anything between you and them either.

Tor exposes itself to applications as a local SOCKS proxy. Tor Browser's bundled Tor listens on port 9150; a system Tor daemon usually listens on 9050. Pointing an application at that port is how you route it through Tor, though plenty of apps leak DNS or ignore proxy settings in places, which is why tools like torsocks and whole-system approaches like Whonix exist. A VPN is a related idea operating at the network level instead of per app.