It applies to both the learners and the teacher, and is drawn up at the beginning of the course.
Example
‘We will hand in our homework on time' and 'I will mark and return homework quickly' are two terms often included in a class contract.
In the classroom
Aside from being an enjoyable, relevant and motivating activity a class contract can be a useful way to start a dialogue concerning how the class works and can so encourage learner autonomy.
Further links:
https://www.teachingenglish.org.uk/article/my-english-classroom
https://www.teachingenglish.org.uk/article/kids-classroom-rules-posters-under-sea