## Differences in the use of paired sample t-test and independent sample t-test

The t-test is commonly used to test the mean difference between two samples. The t-test can be performed on paired samples as well as independent samples. When should we use the paired sample t-test and when should we use the independent sample t-test?