Absorbing salt from the environment is the role of the gills. Water constantly moves INTO the fish as it is freshwater and so there is a higher concentration of water outside and via osmosis it moves inside. Kidney then reabsorbs less water and excretes most
Source: kidneys - "A primary...