Should I use pixels or Rems and ems

I’ve done some reading on this topic and some articles recommend using Rems for the layout of your page and ems for the font size, But when I did a free day at a company they all used pixels and I was told pixels are coming back now that browsers use zoom. So my question is should I use Rems and ems for just use pixels?