A g-orthonormal basis is the generalization of an orthonormal basis in Hilbert spaces.In this paper,we first discuss the existence of the g-orthogonal basis,then compare the g-orthonormal basis with g-frame,and finally,use them to build the g-frame and g-Riesz basis.