Why does a lightning conductor have a pointed tip?

A pointed tip helps in the easy discharge of electric charge into the air due to the concentration of charge at the sharp end. This prevents the buildup of large charges, reducing the chances of a lightning strike on the building.