Lucid dreams are special type of dreams.

You can control them and trigger.

In those type of dreams you can do anything and teach yourself any subject.

Article about them is here :

https://www.webmd.com/sleep-disorder...reams-overview