I need to know if sad is heriditary or acquired?

Both. As is the case with many answers in mental health, when the question has to do with genetics vs. Environment, the answer is almost always a combination of both. There is evidence for a biological or genetic risk for sad, but it is likely that environmental factors and life experience affect the likelihood of having sad expressed in one's life.