It's like an exchange program. People find a program in a country they'd like to visit. In exchange for food and accommodations, they work. In other words, they don't get a salary. The idea is that volunteers can learn about real people in other countries. Vacationers who stay in hotels often don't learn much about the local people and culture.