What is difference between variance and covariance?

Variance describes how much a random variable differs from its expected value(mean) in other words variance is defined as the average of the squares of the differences between the individual (observed) and the expected value.

Covariance is a measure of the joint variability of two random variables.