Angry and upset, the teacher told him both to stay after school. 请教这是什么语法?

问题描述:

Angry and upset, the teacher told him both to stay after school. 请教这是什么语法?

The teacher is Angry and upset.
伴随状语