Espalier is the horticultural technique of training and pruning trees or shrubs to grow flat against a wall or trellis, creating a two-dimensional growth pattern. This method is often used in small gardens or along walls to maximize space while also producing fruit or creating a decorative element. Espalier requires regular pruning to maintain the desired shape and is commonly used with fruit trees like apple and pear trees. It is both an art form and a practical gardening practice.