A relationship refers to the connection or association between two or more things. It describes how one thing is related to another.
Correlation: Correlation refers to the statistical relationship between two variables, indicating how they change together.
Causation: Causation describes a cause-and-effect relationship, where one event directly leads to another.
In mathematics, a function represents a specific type of relationship between inputs and outputs, where each input has exactly one output value.