Caltrain provides commuter rail service along the San Francisco Peninsula, through the South Bay to San Jose and Gilroy.