In the two-phase region of a peritectic system, experimental studies have shown that the primary phase (␣) often forms a large treelike structure that is surrounded by the peritectic phase (). The formation of this novel structure has been attributed to the presence of convection in the liquid. Here, specific physical mechanisms of convection-induced treelike structure formation are proposed. A mathematical model based on advection-diffusion of solute, with prototype flows for advection, is presented and solved numerically to show that an oscillating fluid motion can give rise to a complex oscillatory, treelike structure. Three different regimes are established: diffusive, steady convective, and unsteady convective regimes. In the diffusive regime, a banded structure is predicted within a narrow composition range, and the spacing of the bands is dictated by the nucleation undercoolings of the two phases. Under steady convection, the primary phase transforms into the peritectic phase with a curved ␣: interface. Finally, in the presence of oscillating convection, a treelike shape of the primary phase is predicted, as observed experimentally.