addBatch collects statements; executeBatch sends them to the database at once.
In JDBC, `addBatch` is used to queue multiple SQL commands, and `executeBatch` sends them to the database in one go. This is useful when inserting a list of products into a database, as it saves time compared to executing each insert individually.