Answer in Details
According to legend, the demon Mahishi could only be defeated by a child born of both Shiva and Vishnu. To fulfill this purpose, Lord Vishnu assumed the enchantress form Mohini, and from the union of Shiva and Mohini, Lord Ayyappa was born. He is revered as a symbol of dharma, celibacy, and self-discipline.
Ayyappa is especially worshipped at the Sabarimala temple, where millions of devotees undertake a pilgrimage each year following strict vows and austerities, which are in line with the ideals of discipline and renunciation associated with Lord Shiva.
Thus, Lord Ayyappa is considered to embody the combined energies of Shiva (the principle of destruction and transformation) and Vishnu (the principle of preservation), signifying harmony and unity among different aspects of divinity.