In ancient times , dolls were used as symbols of a deity ( god ) , and played an important role in religious ceremonies and rituals . In ancient times , dolls were used as representations of a deity , and played a central role in religious ceremonies and rituals .