What does a Lightning Rod do?

A lightning rod is used to attract lightning. It is generally placed away from a building to keep the lightning from striking that building.