What is the difference between the em and rem units?

Technical