In Hinduism, the heavenly triumvirate consists of Brahma, Vishnu, and Shiva. Collectively, they are the Trimurti. Each of the three gods is also known by their individual disposition or guna.
For example, Brahma is known as guna-rajas (the passion that brought the world into being). Vishnu is known as guna-sattva (the embodiment of mercy that preserves the world), while Shiva is known as guna-tama (the embodiment of wrath, the destroyer of all evil). In Hindu temples, the triumvirate is shown as three gods in one; Brahma may be situated on the right, Shiva in the middle, and Vishnu on the left. Here, it is important to note that, in temples, the physical position of each god in the trimurti is interchangeable. What does not change, however, is that the three gods will always be known for their respective roles of creator, preserver, and destroyer.
Originally, the three gods of the triumvirate were equal; none took precedence over another. However, eventually, Shiva and Vishnu came to be more revered than Brahma himself. It is said that Brahma created all things himself, from the sun and the moon to the various castes in India. However, Hindus today prefer to concentrate on Vishnu and Shiva, as these two gods continue to work on man's behalf (as opposed to Brahma, whose work of creation is finished).
Source: The Gods of India: A Brief Description of Their History, Character & Worship by E. Osborn Martin