Beams generally carry vertical forces, but can also be used to carry horizontal loads (Those loads can result from wind or an earthquake). The loads that a beam carries are led to columns or walls, which lead the force to the next element.