Why would my thyroid need to be checked?

I suffer from depression and social anxiety and recently my therapist suggested that I have my thyroid checked. Why would that be?