What is McGregor’s theory of motivation

McGregor’s theory of motivation, known as Theory X and Theory Y, explores two contrasting views of human behavior in the workplace. Theory X assumes employees are inherently lazy and require control, while Theory Y posits that they are self-motivated and thrive on responsibility.