Answer:
A state is apart of a nation (for example: California is apart of the United States)
A nation is a bunch of states combined-- much like a country, but it includes various of history, languages, literature, and more.
Nationalism is a belief over your nation, usually claiming your nation to be better or something similar.