A national anthem is a generally patriotic musical composition that is formally recognized by a country's government as their state's official national song.