Wood is a natural material which passively changes its moisture content to reach equilibrium with its environment (hygroscopy). At times of the year where humidity is higher, wooden floors will take on moisture from the air and this causes some expansion. Equally, when humidity decreases, the floor will contract slightly The expansion gap allows for this expansion to occur without creating any tension in the floor from the wood pushing against walls, door frames, pipes etc.