What is the importance of paying attention in class?

To learn..
If you pay attention, you memorize the information you're learning in class better..
If you think homework is for learning, homework is only supposed to evaluate your responsibility and reinforce the things you learn in class..