National service is a system of compulsory or voluntary government service, usually military service. Conscription is mandatory national service. The term national service comes from the United Kingdom's National Service Act 1939.
The length and nature of national service depends on the country in question. From Wikipedia