Copyright protects creative works like music videos from being profited from by others without permission. While fair use allows the use of copyrighted material for nonprofit educational projects, it's still best to obtain permission from record labels to use songs in videos, as this makes it easier to avoid copyright claims if the video is uploaded to YouTube which uses automated detection.