Where does “bagin” come from?

Words derived from “bagin