From Latin perna (“leg”) with the suffix -il indicating parts of the body.
Practice speaking and memorizing "pernil" and many other words and sentences in Spanish.