The formation of somites or segments, which later give rise to muscles, vertebrae, and other structures.