People travel throughout San Francisco and to other parts of the bay area by BART, which stand for Bay Area Rapid Transit. It's similar to subway systems in other states.
This is a picture of the BART train at one of the underground stations.