We discuss the zero-temperature hydrodynamics equations of bosonic and fermionic superfluids and their connection with generalized Gross-Pitaevskii and Ginzburg-Landau equations through a single superfluid nonlinear Schrödinger equation.PACS numbers: 03.75. Lm, 03.75.Ss, 05.30.Jp, 74.50.+r Recent and less-recent experiments with ultracold and dilute gases made of alkali-metal atoms have clearly shown the existence of superfluid properties in these systems [1,2]. Both bosonic and fermionic superfluids can be accurately described by the hydrodynamics equations of superfluids [1,2,3]. In this paper we analyze the hydrodynamics equations of superfluids and show how to construct a reliable nonlinear Schrödinger equation from these hydrodynamics equations. For bosons this equation gives the generalized Gross-Pitaevskii equation recently discussed by Volovik [4], while for fermions one gets a zero-temperature Ginzburg-Landau equation [5]. The limits of validity of these mean-field equations are discussed.At zero temperature the hydrodynamics equations of superfluids made of atoms of mass m are given bywhere n(r, t) is the local density and v(r, t) is the local superfluid velocity [1,2,3]. Here U (r) is the external potential and µ(n) is the bulk chemical potential of the system. The bulk chemical potential µ(n) is the zero-temperature equation of state of the uniform system. The density n(r, t) is such thatis the total number of atoms in the fluid. Eq. (1) and (2) are nothing else than the Euler equations of an inviscid (i.e. not-viscous) and irrotational fluid. In fact, at zero temperature, due to the absence of the normal component, the superfluid density coincides with the total density and the superfluid current with the total current [3]. The condition of irrotationalitymeans that the velocity v can be written as the gradient of a scalar field. Eqs. (1) and (2) differ from the corresponding equations holding in the collisional regime of a non superfluid system because of the irrotationality constraint (4). In addition, experiments with both bosonic and fermionic superfluids show the existence of quantized vortices, such that the circulation C of the superfluid velocityis quantized, i.e.where k is an integer quantum number and the statistical coefficient ζ is 1 for superfluid bosons and 2 for superfluid fermions [1,2,9,12]. Eq. (6) does not have a classical analog, and this fact suggests that the superfluid velocity is the gradient of the phase θ(r, t) of a single-valued quantum-mechanical wave function Ξ(r, t). This function Ξ(r, t) = |Ξ(r, t)| e iθ(r,t) (7)