Pergunta de entrevista da empresa Persistent Systems

Why is a router considered to be a Network layer device though it is actually a physical device?