A unidirectional LSTM processes data in one direction (usually left to right), capturing only past context. In contrast, a bidirectional LSTM processes data in both directions (left to right and right to left), allowing it to capture both past and future context.