Mastering is the entire process of getting knowledge, competencies, or attitudes via research, experience, or training
https://www.toshort.cc/Jk/
Learning is the whole process of getting understanding, abilities, or attitudes by means of review, expertise, or instructing