A dishwasher comprising a main body; at least a first basket which is located in the main body and receives the dishes to be washed; at least one bottom area; at least one washing compartment having the first basket therein, located in the main body and comprising at least one drainage connection unit, at least one control unit, and at least one fruit and vegetable washing compartment characterized in that - the dishwasher comprises at least one valve which is at least two-way and is connected with a water source; at least a first channel connected with the valve on one side, wherein water reaching the valve from the source is passed through the first channel to clean the dishes in the first basket; and at least a second channel connected with the valve on one side located in the bottom area; and in that - the washing compartment comprises at least a third channel connected with the second channel on one side; at least a first water outlet to which the water reaching the third channel by passing through the second channel reaches, wherein one side of the first water outlet is connected with the third channel so as to have an angle other than 0 and 180 degrees in between; at least a second water outlet which is connected with the second channel on at least one side and to which the water passing through the second channel reaches;; and in that - the at least one fruit and vegetable washing compartment is located above the first basket and comprises ∘ at least one chamber in which fruits and vegetables are washed, ∘ at least one carrying member providing connection to the first basket, wherein one side of the carrying member is connected with lower side of the chamber, ∘ at least a first water inlet connected with the first water outlet, wherein the water reaching the first water outlet by passing through second channel and third channel is transmitted through the first water inlet into the carrying member; ∘ at least a second water inlet which is connected with the second water outlet and transmits the water coming from the second water outlet by passing through the second channel to the chamber; and and in that - the control unit contains the information to which channel the water reaching the valve will be directed in response to at least one washing program of the dishwasher that can be selected by a user through at least one control element, and controls operation of the valve such that the water reaching the valve from the source is transmitted to the second channel for washing fruits and vegetables or to the first channel for washing dishes inside the dishwasher, in response to the user-selected washing program. - the dishwasher comprises at least one valve which is at least two-way and is connected with a water source; at least a first channel connected with the valve on one side, wherein water reaching the valve from the source is passed through the first channel to clean the dishes in the first basket; and at least a second channel connected with the valve on one side located in the bottom area; and in that - the washing compartment comprises at least a third channel connected with the second channel on one side; at least a first water outlet to which the water reaching the third channel by passing through the second channel reaches, wherein one side of the first water outlet is connected with the third channel so as to have an angle other than 0 and 180 degrees in between; at least a second water outlet which is connected with the second channel on at least one side and to which the water passing through the second channel reaches;; and in that - the at least one fruit and vegetable washing compartment is located above the first basket and comprises ∘ at least one chamber in which fruits and vegetables are washed, ∘ at least one carrying member providing connection to the first basket, wherein one side of the carrying member is connected with lower side of the chamber, ∘ at least a first water inlet connected with the first water outlet, wherein the water reaching the first water outlet by passing through second channel and third channel is transmitted through the first water inlet into the carrying member; ∘ at least a second water inlet which is connected with the second water outlet and transmits the water coming from the second water outlet by passing through the second channel to the chamber; and and in that ∘ at least one chamber in which fruits and vegetables are washed, ∘ at least one carrying member providing connection to the first basket, wherein one side of the carrying member is connected with lower side of the chamber, ∘ at least a first water inlet connected with the first water outlet, wherein the water reaching the first water outlet by passing through second channel and third channel is transmitted through the first water inlet into the carrying member; ∘ at least a second water inlet which is connected with the second water outlet and transmits the water coming from the second water outlet by passing through the second channel to the chamber; and and in that - the control unit contains the information to which channel the water reaching the valve will be directed in response to at least one washing program of the dishwasher that can be selected by a user through at least one control element, and controls operation of the valve such that the water reaching the valve from the source is transmitted to the second channel for washing fruits and vegetables or to the first channel for washing dishes inside the dishwasher, in response to the user-selected washing program.