Why does a country need an infrastructure?

Why does a country need an infrastructure?