Nationalism is a belief and attitude that emphasizes the importance of a shared national identity based on common characteristics such as culture, language, and history.