Gargoyles were used in buildings to scare churchgoers, attract pagans, and keep water from damaging stone walls. The use of gargoyles in architecture dates back to ancient Egypt.