Vector fields on Lie groupoids and its Lie-Rinehart structure