a cleaning device includes a removal member that forms piled bodies of residual objects at a contact location and removes residual objects from a surface of a target cleaning member by contacting with the surface in a linear manner and rubbing against the surface , and a smoothing member that smooths out the piled bodies by moving along the contact location .