Theory of quantum fluids