Fisher's exact test is a statistical significance test used in the analysis of contingency tables with small sample sizes. It can be used to examine independence in a 2x2 contingency table and is most useful when sample sizes are small and expected cell counts are less than 5. The test computes the exact hypergeometric probability of obtaining a table equal or more extreme than what was observed, given the fixed marginal totals. The output provides left, right, and two-tailed p-values for assessing independence between the variables.