A washing and drying system comprising: a washing machine that has a washing function; and a dryer that has a drying function and that comprises: a drying unit that is configured to increase a temperature within a drying chamber that is configured to receive clothing; and a controller that is configured to: set a capacity of the drying unit according to an operation termination time (Tf) of the washing machine based on operation of the washing machine, and operate the drying unit according to the set capacity, wherein the drying unit comprises a plurality of heaters, characterised in that the dryer further comprises a recording medium that is configured to store a number of the plurality of heaters to operate, each number of the plurality of heaters corresponding to a respective range of operation termination times, wherein the controller is further configured to: identify the respective range of operation termination times to which the operation termination time (Tf) of the washing machine belongs, set, as the capacity of the drying unit, the number of the heaters to operate according to the identified range of operation termination times, operate the number of the heaters. a washing machine that has a washing function; and a dryer that has a drying function and that comprises: a drying unit that is configured to increase a temperature within a drying chamber that is configured to receive clothing; and a controller that is configured to: set a capacity of the drying unit according to an operation termination time (Tf) of the washing machine based on operation of the washing machine, and operate the drying unit according to the set capacity, wherein the drying unit comprises a plurality of heaters, characterised in that the dryer further comprises a recording medium that is configured to store a number of the plurality of heaters to operate, each number of the plurality of heaters corresponding to a respective range of operation termination times, wherein the controller is further configured to: identify the respective range of operation termination times to which the operation termination time (Tf) of the washing machine belongs, a drying unit that is configured to increase a temperature within a drying chamber that is configured to receive clothing; and a controller that is configured to: set a capacity of the drying unit according to an operation termination time (Tf) of the washing machine based on operation of the washing machine, and operate the drying unit according to the set capacity, set a capacity of the drying unit according to an operation termination time (Tf) of the washing machine based on operation of the washing machine, and operate the drying unit according to the set capacity, wherein the drying unit comprises a plurality of heaters, characterised in that the dryer further comprises a recording medium that is configured to store a number of the plurality of heaters to operate, each number of the plurality of heaters corresponding to a respective range of operation termination times, wherein the controller is further configured to: identify the respective range of operation termination times to which the operation termination time (Tf) of the washing machine belongs, set, as the capacity of the drying unit, the number of the heaters to operate according to the identified range of operation termination times, operate the number of the heaters.