The lateral flow of water into or from a soil, as from a body of water into neighboring soil, or the reverse.