em vs rem in CSS

In CSS, em and rem represent relative units that display the scalable and responsive results.