Representations of the Rotation and Lorentz Groups and Their Applications