Are mental disorders like depression, bipolar, social anexity disorder inherited?

Yes. Many people have one or more parents with mental health disorders. Off spring may grow up with no mental health problems or they may develop the same or different disorders than their parents.