The left shift operator << shifts bits to the left, effectively multiplying the number by 2 for each shift.