Why were the Easter Island Heads built?

they were built to ward off the evil people of the dead