Covariance measures the degree to which two random variables change together. It is calculated as the expected value of the product of the deviations from the means. A positive covariance means the variables tend to move in the same direction, while a negative covariance means they move in opposite directions. Covariance is affected by the scale of the variables and can be difficult to interpret on its own. It is commonly used to understand the relationship between dependent and independent variables.