A compressor according to the present disclosure may include a container; a drive motor provided in the container; a crankshaft coupled to a rotor of the drive motor; a first scroll coupled to the crankshaft to receive a rotational force of the drive motor to perform an orbiting movement; a second scroll coupled to the first scroll to form a first compression unit and a second compression unit along with the first scroll; and a vane provided in the first scroll or second scroll to be brought into contact with the other side scroll to form the second compression unit, wherein the first compression unit is carried out in a scroll compression mode and the second compression unit is carried out in a rotary compression mode.