Causal inference refers to the process of determining whether a relationship between two variables is causal or merely correlational. In epidemiology, this is crucial for understanding the factors that influence the occurrence and distribution of health-related states or events.