Buddhism and Hinduism

How is Hinduism related to the beliefs of Buddhism?