What is the difference between t-test and chi-square test?



According to the definition, it seems both of them are same. What are the crucial differences among them?


Broadly, chi-square test is used for categorical variables while ttest is for continuous


t test is used to compare or say something about means whereas chi square is used for comparing variances.