In Hinduism, there is a concept that the cosmic functions of creation, maintenance, and destruction are personified by the forms of Brahma Vishnu and Śhiva respectively.
In simple terms, Hindu Trinity means,
Lord Brahma - the creator,
Lord Vishnu – the sustainer or maintainer or preserver
Lord Shiva (Mahesh) – the destroyer or transformer
These three deities have been called as "The Hindu triad" or often as the "Great Trinity” and most often addressed as "Brahma-Vishnu-Maheshvar".
One kind of representation for the Trimurti or Trinity shows three heads on one neck and often even three faces on one head that each one looking in a dissimilar direction. Means Brahma-Vishnu-Shiva (Mahesh) had three head only in one body.
The Hindu trinity - Brahma, Vishnu and Shiva, as they performs the cosmic functions of the universe, they are also aligned as the surpassing,
The Godhead - Shiva,
The cosmic lord - Vishnu
The cosmic mind - Brahma.
In regarding this they are also called as “Sat-Tat-Aum”
The Being, the Thatness or immanence and the Word or Holy Spirit. This is similar or much likes the Christian trinity of God as the Father, Son and Holy Ghost.
The Trinity (Trimurti) also represents the Divine in its threefold nature and function. Each feature of the Trimurti contains and includes the others.
Each God in the trinity-Brahma-Vishnu-Shiva has his consort.
For Brahma is Saraswati, considered as the Goddess of knowledge.
For Vishnu is Lakshmi, considered as the Goddess of delight, beauty and love.
For Shiva is Parvati (Kali), considered as the Goddess of transformation, power and destruction.
These are the three major forms of the Goddess, same as the as the three major forms of the God Brahma, Vishnu and Shiva.
The three Goddesses are often worshipped in their own right as well as along with their spouses (better half).