Complex sentence: A public good is such a good that everyone non-exclusively enjoys, such as national defense; the public good here would be the security provided to citizens of a state.
Split into simpler sentences: A public good is such a good that everyone non-exclusively enjoys, such as national defense. The public good in this example would be the security provided to citizens of a state.