FLUSH command in MariaDB is used to clear or clean different types of internal caches and buffers. For instance, it can be used to clear cache for table, host name, logs, privileges, query cache, or status variables. This helps in refreshing the server and provides optimum performance.