Vastu shastra, sometimes also called Vastu Vidya – vidya meaning science – is part of the Vedas. Vedas, or the Vedic texts, are believed to be four to five thousand years old and include sacred knowledge of spirituality, astrology, yoga, nutrition, etc.
The word vastu can be generally translated as meaning dwelling, and the term shastra can be summed up as teaching. It is a complex body of knowledge with many mathematical formulas expressing deep reverence for the Hindu deities and proper ways to show this reverence in the design of a human dwelling.
Vastu shastra is also based on the harmony of 5 elements, but the elements are different than the elements in feng shui.