An electronic device comprising: a display; a communicator; and a processor configured to: control the communicator to mirror, to an external device, a first screen provided by a first application corresponding to a user command, among a plurality of applications providing a plurality of screens, based on the user command for selectively mirroring one of the plurality of screens being input in a state in which the plurality of screens are displayed on the display, and control the display to display a second screen provided by a second application, that is not mirrored to the external device, among the plurality of applications, while mirroring the first screen provided by the first application to the external device, wherein the processor is further configured to: based on the user command being input, obtain information on a resolution of the first screen, identify a width of the first screen and a height of the first screen based on the resolution of the first screen, based on identifying that the width of the first screen is greater than the height of the first screen, transmit, to the external device, signal for rotating the display of the external device to the landscape state, and based on identifying that the height of the first screen is greater than the width of the first screen, transmit, to the external device, signal for rotating the display of the external device to the portrait state. a display; a communicator; and a processor configured to: control the communicator to mirror, to an external device, a first screen provided by a first application corresponding to a user command, among a plurality of applications providing a plurality of screens, based on the user command for selectively mirroring one of the plurality of screens being input in a state in which the plurality of screens are displayed on the display, and control the display to display a second screen provided by a second application, that is not mirrored to the external device, among the plurality of applications, while mirroring the first screen provided by the first application to the external device, wherein the processor is further configured to: based on the user command being input, obtain information on a resolution of the first screen, identify a width of the first screen and a height of the first screen based on the resolution of the first screen, based on identifying that the width of the first screen is greater than the height of the first screen, transmit, to the external device, signal for rotating the display of the external device to the landscape state, and based on identifying that the height of the first screen is greater than the width of the first screen, transmit, to the external device, signal for rotating the display of the external device to the portrait state. control the communicator to mirror, to an external device, a first screen provided by a first application corresponding to a user command, among a plurality of applications providing a plurality of screens, based on the user command for selectively mirroring one of the plurality of screens being input in a state in which the plurality of screens are displayed on the display, and control the display to display a second screen provided by a second application, that is not mirrored to the external device, among the plurality of applications, while mirroring the first screen provided by the first application to the external device, wherein the processor is further configured to: based on the user command being input, obtain information on a resolution of the first screen, identify a width of the first screen and a height of the first screen based on the resolution of the first screen, based on identifying that the width of the first screen is greater than the height of the first screen, transmit, to the external device, signal for rotating the display of the external device to the landscape state, and based on identifying that the height of the first screen is greater than the width of the first screen, transmit, to the external device, signal for rotating the display of the external device to the portrait state. based on the user command being input, obtain information on a resolution of the first screen, identify a width of the first screen and a height of the first screen based on the resolution of the first screen, based on identifying that the width of the first screen is greater than the height of the first screen, transmit, to the external device, signal for rotating the display of the external device to the landscape state, and based on identifying that the height of the first screen is greater than the width of the first screen, transmit, to the external device, signal for rotating the display of the external device to the portrait state.