Our paper shows that decision trees and random forests can be described via pattern structures. This new perspective leads to a better understanding of random forests and delivers a new way of analyzing complex data with the help of pattern structures.