A militia is a military unit that can be called up to serve in emergency situations. It is not considered a standing army, and it has the singular military purpose of protecting the state from threats outside its borders.
In most countries, the term "militia" means a part-time force that is either organized or commanded by civilians who serve for their own civil defense, police work and other public tasks, instead of for one of the armed services.