There are different explantion for this background of this Holy Number:
In Buddhism, according to Bhante Gunaratana this number is reached by multiplying the senses smell, touch, taste, hearing, sight, and consciousness by whether they are painful, pleasant or neutral, and then again by whether these are internally generated or externally occurring, and yet again by past, present and future, finally we get 108 feelings. 6 × 3 × 2 × 3 = 108.
Tibetan Buddhist malas or rosaries are usually 108 beads, reflecting the words of the Buddha called in Tibetan the Kangyur in 108 volumes.
The Lankavatara Sutra has a section where the Bodhisattva Mahamati asks Buddha 108 questions