The short answer
“Scouts” in World War II could mean two different things. The Lovat Scouts were a Scottish unit of the British Army. Boy Scouts were young people in scouting movements, and many of them did war work at home. Most people asking the question have one of these in mind, and the answer depends on which.
The Lovat Scouts in the army
The Lovat Scouts were a military unit, not a youth group. They were formed around 1899 and drew many of their men from Highland estates, where stalkers and gamekeepers were used to working in rough country. In 1940 the unit was converted into a mountain and snow warfare unit, training for movement on foot and on skis in cold, high ground.
Their wartime work was military. For the wider story of the unit, including its role in the First World War and how it changed during the Second, see the full article on the Lovat Scouts in World War 2.
Boy Scouts in Britain
Boy Scouts in Britain took on a range of tasks that helped the home front. The most common were collecting salvage, such as waste paper and metal, which the war effort needed. Many scouts also carried messages for local organizations and helped with civil defence work. The exact tasks depended on the area and on local needs, so the experience of a scout in one town could be quite different from another.
Boy Scouts in the United States
In the United States, the Boy Scouts of America took part in the war effort in similar ways. Scouts joined scrap drives and helped sell war savings stamps and bonds, which raised money for the government. Local troops also helped with volunteer work in their communities. As in Britain, the details varied from one region to another.
Scouting in occupied Europe
In countries under German occupation, scouting was often banned or pushed underground. In Poland, scouts took part in the underground resistance. The Grey Ranks, a scouting organization, played a notable role in that resistance. Scouting in occupied countries was much more dangerous than the work done by scouts in Britain or the United States, and it is a very different story.
Which kind of scout is meant
If you are asking what scouts did in WWII in general, the answer usually points to Boy Scouts and their home front work. If you are asking who the Lovat scouts were, they were a military unit, and the answer is about army service. Checking the context of the question, such as a book, a family story or a museum label, will usually show which group is meant.