There are two main distortions in the New Keynesian model: 1. markups due to imperfect competition (leads to low employment in the long run): we assume that it is controlled by the fiscal authority.
NK model takes the RBC model backbone and adds to that the price stickiness. To incorporate price stickiness we assume that firms are price-setters and thus move away from the perfect competition assumption.