Why should an educator as a classroom manager have knowledge of education law and of what use can such knowledge be to the educator?

Why should an educator as a classroom manager have knowledge of
education law and of what use can such knowledge be to the educator?