The usage of "mooning" to refer to the act reflected the use of "moon" as a metaphor for "the buttocks" since 1743. It was popularised from American student slang in the 1960s.
Practice speaking and memorizing "mooning" and many other words and sentences in English.