The data tables help in creating data-driven test cases, which are used to execute an action multiple times. These types of data tables include local data tables and global data tables.