What are rules that make it okay for students and teachers to use copyrighted material for school projects?

The "fair use" or "fair dealing" provisions in copyright law allow certain limited unlicensed uses of protected materials. This does not mean that all educational activities can go unlicensed, however.