Borrowed from French baril. As an English unit, calqued from English barrel.
Practice speaking and memorizing "barril" and many other words and sentences in Spanish.