Thats why i am asking this question in this post.
Can never go wrong asking.
Bro. Do you consider Brahman also is an avatar? And you put Shiva along with Hanuman? Is that so?
If you mean Brahmā the creator god, he's a god, as well as Shiva, Hanuman, Lakshmi, Saraswati, Ganesha... all the major gods and goddesses one thinks of in Hinduism. And this is where the avatar idea gets wonky... Rama, Krishna, Narasimha, Vamana, Balarama, etc. are individuals as well as being forms of Vishnu, existing simultaneously. Several of the gods and goddesses do have other forms that are sometimes referred to as avatars. Maybe form, incarnation, avatar are the wrong words, and "role" is better. Shiva has forms other than the usual yogi form.. Dakshinamurthy, Kalabhairava, Pashupati, and others. Durga and Kali are the warrior and fierce forms, respectively, of Parvati.
The view I have of Shiva is not that common... Vishnu and Shiva are flip-sides of the same God. They are one and the same. The Skanda Upanishad and Yajur Veda say:
śivāya viṣṇu rūpāya śiva rūpāya viṣṇave
śivasya hṛdayaṁ viṣṇur viṣṇosca hṛdayaṁ śivaḥ
"Vishnu is a form of Shiva, and so is Shiva a form of Vishnu,
Shiva's heart is Vishnu, and Vishnu's heart is Shiva."