Cement (usually white) used in filling gaps between tiles does not have waterproofing properties.
Cement also shrinks due to temperature changes and cracks leading to seepage of water.
ROFF RAINBOW TILE MATE (RTM) is a crack-free tile joint filler, which has excellent waterproofing properties.