Question: who wrote vedas and upanishads?
Answer: According to tradition, Vyasa is the compiler of the Vedas, who arranged the four kinds of mantras into four Samhitas (Collections).