In most Buddhist monasteries and convents, performing acts of service for the community is required. So they are giving back and interacting with their communities, not isolated. Also, monks are scholars, they have devoted themselves to learning the dharma, so they are living conduits of the teachings of the Buddha. If we didn’t have them, and their books and teachings, we wouldn’t have Buddhism.