The Reducer process the output of the mapper. After processing the data, it produces a new set of output. At last HDFS stores this output data. Reducer takes a set of an intermediate key value pair produced by the mapper as the input and runs a Reducer function on each of them.
The mappers and reducers depends on the data that is processing.
You can manually set the number of reducers with below property but i think it is not recommended.