In electrum, you connect to the servers provided by other people and it allows you to choose the server manually.
If you want to protect your privacy, you should download the full blockchain and run your own server and use TOR.
How it's different to run Electrum with TOR connection?
Network >> Proxy >> Use tor proxy at port 9150, Use proxy , SOCKS5 127.0.0.1 9150