An ancillary statistic is a function of the observed data that provides no information about the parameter of interest, meaning its distribution does not depend on the parameter. It is often used in statistical inference to improve the estimation of other parameters by conditioning on it, thereby reducing variability in the estimation process.