Well, a good dictionary might help you there. Actually, Wikipedia has an article on it, too. So-called temple prostitution or religious prostitution is an age-old custom, spread through large parts of the world, and certianly not a simple subject.