To obtain water
Lichens are typically the first organisms to colonize bare rock. They are therefore the pioneer species in primary succession. Many organisms require soil before they can colonize an area. Lichens that colonize bare rock secrete acids that break down the rock and start the soil-production process.
HOPE THIS HELPS?