Dear Student,
Lightning conductors acts as flow path to the light which strikes the building, hence acts as safety device and saves building from any damage or we can say that It acts as a conducting path of charge from high potential to zero potential through the conductor without damaging the building itself.
Regards