In rows, the elements are arranged from left to right, whereas in columns, the elements are arranged from top to bottom.