Trim molding
Trim molding (or moulding) is a long, narrow decorative piece of wood that is used to cover the space between cabinetry and the ceiling. It is also sometimes used between different cabinet components and between cabinets and an appliance.