In this article, we review the research on the dynamics of quantized vortices in superfluid helium and rotating Bose-Einstein condensates with emphasis on the recent research done by our group. A quantized vortex is a topological defect that arises from the order parameter in Bose-Einstein condensation in which frictionless superfluid flows with quantized circulation around each vortex.A quantized vortex was both predicted and discovered first in superfluid 4 He which was the first example of a Bose-Einstein condensate. Quantized vortices have been thoroughly studied in superfluid 4 He; one of the principal problems was the superfluid turbulent state consisting of a tangle of quantized vortices in thermal counterflow. More recently, the interest has shifted to the nature of superfluid turbulence, apart from the case of counterflow. After briefly reviewing the earlier research and describing the current problems, we focus our review on superfluid turbulence and vortex filament dynamics. One of the important problems is how superfluid turbulence relates to classical turbulence. Superfluid turbulence was recently shown to have an energy spectrum consistent with the Kolmogorov law, which is an important statistical law in fully developed classical turbulence. We also describe the diffusion of an inhomogeneous vortex tangle with relation to the observed decay of vortices at very low temperatures where the normal fluid component is so negligible that the usual mutual friction does not work as a decay mechanism. In connection to the above discussion of groups of vortices, we describe the vortex states that appear in a rotating channel with counterflow. Rotational effects cause the vortices to form ordered arrays, whereas counterflow effects tend to cause disordered vortex tangles; the competition of these two effects makes a new state of "a polarized vortex tangle" which opens up superfluid phase diagrams as a new area of study.In the specific field of atomic-gas Bose-Einstein condensation, we discuss recent numerical analysis of the Gross-Pitaevskii equation that describes the structure and dynamics of the order parameter. Consistent with observations, the simulated condensate starts an elliptic oscillation after the rotation is turned on, which induces the surface-mode excitations. The vortices develop from these surface excitations and then enter the bulk condensate, eventually forming a vortex lattice. When a condensate is held in a quadratic-plus-quartic combined potential, the fast rotation makes "a giant vortex" in which most vortices are absorbed into a central hole around which the superflow circulates.