Hypothesis testing involves making an assumption about an unknown population parameter, called the null hypothesis (H0). A hypothesis test is then conducted by collecting a sample from the population and calculating a test statistic. The test statistic is compared to a critical value to either reject or fail to reject the null hypothesis. There are two types of errors that can occur - a Type I error occurs when a true null hypothesis is rejected, and a Type II error occurs when a false null hypothesis is not rejected. The level of significance and whether the test is one-tailed or two-tailed determine the critical value used for comparison.