Dreams that focus on lessons and the business of learning are concerned with the acquisition of knowledge.
If a lesson is being taught by a school teacher, college lecturer or university tutor, your dream is turning the spotlight on the acquisition of knowledge or learning. The subject matter of the lesson will be of great significance here, as the implication may be that you can find fulfillment by stimulating your mind and exploring your creativity in this particular subject. On the other hand, the lesson may also be alerting you to the need to address a specific area of your life. For example, if you dreamed of learning a foreign language, your dreaming mind may not be encouraging you to learn a new language but to open your mind and try to understand the point of view of others.
Dreams of classrooms often indicate your relationship to authority.
If you are trying to avoid your teacher’s eye in your dream, you may be trying to avoid responsibility, whereas eagerly raising a hand suggests a desire for attention or to prove yourself. Your dreaming mind may also be urging you to think about what you really learned at school.
If you dreamed of being punished in class, such dreams may point to masochistic sexual pleasure but are more likely to suggest feelings of guilt about not meeting your responsibilities.... The Element Encyclopedia
To dream about swimming lessons suggests that you are seeking some kind of emotional support. Pay heed to advice from an older and wiser female source - you could learn an important life lesson.... My Dream Interpretation