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

statistics

#1

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


#2

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


#3

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