Why does my home have two shutoff valves?

The single pipe is heading towards the house and the two pipes are heading towards the street. What are the two pipes for? Which valve should I use to turn off my water (or both?)

The single pipe is heading towards the house and the two pipes are heading towards the street. What are the two pipes for? Which valve should I use to turn off my water (or both?)