JPMorganChase interview question

Difference between Z-test and T-test