Shiva is portrayed and worshiped in many forms, he one of those rare naked ascetic who has even conquered over Kama, he's worshiped as a passionate lover and is worshiped along with his consort Shakti as the union, in a pacific mood with his consort Parvati and son Skanda, as the cosmic dancer (Nataraja), as a mendicant beggar, as a yogi, and as the androgynous union of Siva and his consort in one body, half-male and half-female (Ardhanarisvara).
Among his common epithets are Sambhu ("Benignant"), Sankara ("Beneficent"), Pasupati ("Lord of Beasts"), Mahesa ("Great Lord"), Mahadeva ("Great God"), Rudra ("Crying"), Asutosa ("Easily pacified"), Bhutanatha ("Lord of Ghosts"), Tripurari ("Victor over the three demoniac cities") etc. These things may seem orthogonal, but they are not.
Shiva is someone who has mastered his sexual powers through Kundalini Yoga. Quoting this Shakti, Kundalini, and
the River of Tantra Yoga
There is one energy that keeps taking on new shapes and forms. In Tantra the name of that energy is Shakti, which is the manifesting, or feminine force that is actually one and the same with its only apparent companion Shiva, the latent, or masculine. Each time the energy takes on a new form, we give it a new name. Shakti becomes Kundalini Shakti, or simply Kundalini. Kundalini becomes the energy of Prana, which flows in patterns or channels called Nadis, and concentrates itself by forming intersections known as Chakras.
Shiva is considered as ideal husband and unmarried woman are asked to worship Shiva to get a suitable better half. Quoting Why is Lord Shiva considered the ideal husband?
He is also the god who is in absolute control of his emotions. He has to be, after all he has two such willful and headstrong wives! Lord Shiva does not let the determination of his wives annoy or frustrate him.
He readily listens to what they have to say agreeing or disagreeing with their opinions in a gentle manner. He treats Parvati as equals and not as subservient being. He sees them as his companion, individual with whom he can discuss anything and everything - whether it may be intellectual conversations, gathering or giving of advice or even just a light-hearted banter to make him smile.
To him her opinion has high value and he enjoys banter and conversations with her. It is these amazing traits of the God alongside his legendary virility that there are many young women in India who wish that they would have an ideal husband like Shiva.
The Ardhanarishwar image of Shiva with Shakti is portrays him as someone who has understood the true meaning of a matrimony.
The Ardhnarishwar avatar of Shiva and his acknowledgement of the different but equal status of the male and female energy, represented by the Shiv-Shakti dichotomy continues to show all and sundry the extent to which Shiva loved and treasured his female half. The process of generating and sustaining life is incomplete without the active participation of both forces. It is a reality Shiva encompasses even though he is all powerful and invincible.
Ref:
Siva and Durga
Shiva God of Destruction