Where does “tres” come from?

Words derived from “tres