A guerrilla is a civilian who attacks a regular army. When civilians attack civilians, it is usually called terrorism. When two or more armies (representing countries) attack each other, this is a war.
Guerrilla warfare is a war tactic in which people (Spanish: guerrilleros) fight against an organized army. Guerrilla warfare is sometimes practiced in places where a regular army has difficulty, such as forests and mountains. Usually, this army is invading a territory.
Guerrilla is a word of Spanish origin. It means "little war". It was first used in 1808, when Spain was invaded by Napoleon, resulting in the Peninsular War with Spanish guerilla forces resisting the French army.
This war tactic was used on the British by the Native Americans. The natives had an advantage because they used guerrilla warfare. This war tactic was also used on the Americans during the Vietnam War.