People used to be very superstitious and used various iron stuff to keep the evil spirits away from the house.