das Militär
military
All the armed forces of a state, meaning the army, navy, and air force.
Er hat sich verpflichtet, acht Jahre beim Militär zu dienen.
He committed to serving in the military for eight years.

military
Loading your saved state.
military
All the armed forces of a state, meaning the army, navy, and air force.
Er hat sich verpflichtet, acht Jahre beim Militär zu dienen.
He committed to serving in the military for eight years.

The word 'Militär' (military) is a collective noun and is almost always used in the singular, even when talking about many soldiers or the entire armed forces.
Das Militär sicherte die Grenzen des Landes.
The military secured the country's borders.
To express affiliation or activity, German uses 'beim Militär' (in the military). When someone joins the armed forces, you say 'zum Militär gehen' (to go into the military).
Mein Bruder ist seit fünf Jahren beim Militär.
My brother has been in the military for five years.
Common verbs used with the military as an institution are 'dienen' (to serve), 'sich verpflichten' (to enlist/commit oneself), and 'eine Ausbildung machen' (to do training).
Viele junge Leute machen beim Militär eine Berufsausbildung.
Many young people do vocational training in the military.
When 'Militär' (military) is used in connection with 'Macht übernehmen' (to take power), 'putschen' (to stage a coup), or 'regieren' (to govern), it refers to the military government, not just the army as an institution.
Nach dem Umsturz regierte das Militär mit harter Hand.
After the overthrow, the military ruled with an iron fist.
police
'die Polizei' and 'das Militär' both belong to the state and often wear uniforms. Still, they have different tasks. The police maintain safety and order in everyday life, for example in cases of accidents, theft, or disputes. The military consists of a state's armed forces and is mainly responsible for defense and war. Learners may confuse the words because both have to do with state power and weapons. For normal everyday problems, you call the police, not the military.

Das Militär trainiert regelmäßig für den Schutz des Landes.
The military trains regularly to protect the country.
Nach dem Unfall hat ein Zeuge die Polizei gerufen.
After the accident, a witness called the police.