Is brahman hinduism, buddhism or both

Brahman is a concept in both Hinduism and Buddhism, although it is understood in slightly different ways in each religion.

In Hinduism, Brahman is considered the ultimate, unchanging reality or absolute reality that encompasses everything. It is often described as the eternal, infinite and formless essence from which all existence arises. Brahman is seen as the underlying principle that connects everything in the universe, including gods, humans, and all creation. It is the ultimate goal of spiritual practice to realize one's identity with Brahman and achieve Moksha (liberation from the cycle of birth and death).

In Buddhism, the concept of Brahman is found within the context of early Buddhism, particularly in the ancient Indian philosophy of the Upanishads. However, Buddhist teachings diverge from Hinduism in their interpretation of Brahman. In Buddhism, the concept of Brahman is often criticized as being an ultimate reality or essence, which contradicts the Buddhist understanding of Non-Self (Anatta). Buddhism places more emphasis on impermanence and interconnectedness rather than the concept of an eternal, unchanging reality.

So, while Brahman is found in both Hinduism and Buddhism, its significance and interpretation differ within each religious tradition.