Simply put, the value of service-learning is in learning by doing. One example of a service-learning project is creating a community garden to harvest produce throughout the year to donate to local food pantries. There are three types of community service and service-learning: direct, in-direct and advocacy.