While the Buddha taught unified states of mental focus ("samadhi") and meditative absorption ("dhyana") which were commonly taught in Upanishadic thought, he also rejected the metaphysical doctrines of the Upanishads, particularly ideas which are often associated with Hindu nonduality, such as the doctrine that "this cosmos is the self" and "everything is a Oneness" (cf.