T-molding is used to fill the gap between two different floors of approximately equal height and create a smooth transition from one flooring surface to another. It is typically installed in doorways without thresholds or in L-shaped hallways or rooms when you want to change the direction of the planks.