Nationalism is the feeling of one's own nation state .it leads people to believe that their nation is better than others nation.It is a feeling of independent nation state While Imperialism is the condition where one country wants to extend its control over other countries(increase the border).