Inner and outer fences are constructed using the interquartile range and can be used to detect the presence of outliers in a set of data.