The boundary layer is the thin layer in which the interaction between the solid and the fluid occurs due to fluid viscosity. The reason why it is important in fluid mechanics is that the boundary layer determines the lift and drag in the fin and the flow loss in the in-pipe flow.